File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ RUN echo "" \
149149# =========================
150150# Stage 2: Package extractor
151151# =========================
152+ # Inspired by: https://github.com/GoogleContainerTools/distroless/issues/863#issuecomment-986062361
152153# more see: https://github.com/Tob1as/docker-build-example/blob/main/distroless.debian.Dockerfile#L54-L100
153154FROM dev AS apk-extractor
154155
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ RUN echo "" \
150150# =========================
151151# Stage 2: Package extractor
152152# =========================
153+ # Taken from: https://github.com/GoogleContainerTools/distroless/issues/863#issuecomment-986062361
153154# more see: https://github.com/Tob1as/docker-build-example/blob/main/distroless.debian.Dockerfile#L54-L100
154155FROM dev AS deb-extractor
155156
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ ENV PACKAGE_LIST_NANO=""
3030ENV PACKAGE_LIST_DB=""
3131ENV PACKAGE_LIST_Q=""
3232ENV PACKAGE_LIST_SSH=""
33- # example package extractor: https://github.com/Tob1as/docker-php/blob/master/dhi.alpine.fpm.wsc.Dockerfile#L131
33+ # example package extractor: https://github.com/Tob1as/docker-php/blob/master/dhi.alpine.fpm.wsc.Dockerfile#L150
3434# List of packages for download separated by spaces.
3535ENV PACKAGE_LIST_CURL="curl libcurl zlib c-ares nghttp3 nghttp2-libs libidn2 libpsl libssl3 libcrypto3 zstd-libs brotli-libs libunistring"
3636ENV PACKAGE_LIST_NANO="nano libncursesw ncurses-terminfo-base"
You can’t perform that action at this time.
0 commit comments