Skip to content

Commit

Permalink
fix: remove SHAs from S3 Gateway image
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg committed May 6, 2024
1 parent 83aea5e commit 78780cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.latest-njs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This container image removes the existing njs package from the inherited image
# (which could be OSS NGINX or NGINX Plus), builds njs from the latest
# source, and installs it.
FROM nginxinc/nginx-s3-gateway@sha256:8aa48324479b3653b5936183cc97f2ca1aa9078d229042f1bca357834bd906f4
FROM nginxinc/nginx-s3-gateway

RUN set -eux \
export DEBIAN_FRONTEND=noninteractive; \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.unprivileged
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# to allow running NGINX S3 Gateway as a non root user.
# Steps are based on the official unprivileged container:
# https://github.com/nginxinc/docker-nginx-unprivileged/blob/main/Dockerfile-debian.template
FROM nginxinc/nginx-s3-gateway@sha256:8aa48324479b3653b5936183cc97f2ca1aa9078d229042f1bca357834bd906f4
FROM nginxinc/nginx-s3-gateway

# Implement changes required to run NGINX as an unprivileged user
RUN sed -i "/^server {/a \ listen 8080;" /etc/nginx/templates/default.conf.template \
Expand Down
3 changes: 1 addition & 2 deletions examples/brotli-compression/Dockerfile.oss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM nginxinc/nginx-s3-gateway@sha256:8aa48324479b3653b5936183cc97f2ca1aa9078d229042f1bca357834bd906f4@sha256:8aa48324479b3653b5936183cc97f2ca1aa9078d229042f1bca357834bd906f4@sha256:8aa48324479b3653b5936183cc97f2ca1aa9078d229042f1bca357834bd906f4@sha256:8aa48324479b3653b5936183cc97f2ca1aa9078d229042f1bca357834bd906f4@sha256:8aa48324479b3653b5936183cc97f2ca1aa9078d229042f1bca357834bd906f4

FROM nginxinc/nginx-s3-gateway@sha256:8aa48324479b3653b5936183cc97f2ca1aa9078d229042f1bca357834bd906f4
ENV BROTLI_VERSION "v1.0.0rc"

# Build Brotli module from source because there is no repository package
Expand Down

0 comments on commit 78780cb

Please sign in to comment.