File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,16 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; \
1818 && curl -sS -L -O --output-dir /tmp/ --create-dirs https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-${ARCHITECTURE}.tar.gz \
1919 && tar xzf /tmp/s6-overlay-${ARCHITECTURE}.tar.gz -C /
2020
21- # Install dependencies and main libraries needed for ImageMagick
21+ # Install latest Nginx and dependencies & main libraries needed for ImageMagick
2222RUN \
23+ apt-get -y update && \
24+ apt-get install -y --no-install-recommends \
25+ gnupg2 ca-certificates lsb-release debian-archive-keyring && \
26+ curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor \
27+ | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null && \
28+ echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
29+ http://nginx.org/packages/debian `lsb_release -cs` nginx" \
30+ | tee /etc/apt/sources.list.d/nginx.list && \
2331 apt-get -y update && \
2432 apt-get install -y --no-install-recommends \
2533 wget nginx libyaml-dev python3-distutils zip unzip cron \
You can’t perform that action at this time.
0 commit comments