11 lines
560 B
Docker
11 lines
560 B
Docker
FROM docker.io/library/debian:12.9-slim@sha256:12c396bd585df7ec21d5679bb6a83d4878bc4415ce926c9e5ea6426d23c60bdc
|
|
SHELL ["/bin/bash", "-u", "-e", "-o", "pipefail", "-c"]
|
|
|
|
RUN --mount=type=cache,target=/var/lib/apt/lists,sharing=locked \
|
|
apt-get -qq update && \
|
|
apt-get -qq install --yes --no-install-recommends ca-certificates curl jq && \
|
|
rm -rf /etc/*- /var/lib/dpkg/*-old /var/lib/dpkg/status /var/cache/* /var/log/*
|
|
|
|
COPY --link --chown=0:0 --chmod=555 entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
|
USER 1000:1000
|