mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00:00
Hardcode nginx 1.19.3 for use in Docker Images
This commit updates both 'Dockerfile' and 'Dockerfile.alpine' to use 'nginx 1.19.3'. This change was implemented after feedback from @buchdag to be able to use dependabot.
This commit is contained in:
parent
6b8cd894da
commit
83ca0511d1
@ -1,6 +1,4 @@
|
|||||||
# setup build arguments for version of dependencies to use
|
# setup build arguments for version of dependencies to use
|
||||||
ARG NGINX_VERSION=1.19.3
|
|
||||||
|
|
||||||
ARG DOCKER_GEN_VERSION=0.7.4
|
ARG DOCKER_GEN_VERSION=0.7.4
|
||||||
ARG FOREGO_VERSION=0.16.1
|
ARG FOREGO_VERSION=0.16.1
|
||||||
|
|
||||||
@ -43,7 +41,7 @@ RUN go get -v ./... && \
|
|||||||
CGO_ENABLED=0 GOOS=linux go build -o forego .
|
CGO_ENABLED=0 GOOS=linux go build -o forego .
|
||||||
|
|
||||||
# Build the final image
|
# Build the final image
|
||||||
FROM nginx:$NGINX_VERSION
|
FROM nginx:1.19.3
|
||||||
LABEL maintainer="Jason Wilder mail@jasonwilder.com"
|
LABEL maintainer="Jason Wilder mail@jasonwilder.com"
|
||||||
|
|
||||||
# Install wget and install/updates certificates
|
# Install wget and install/updates certificates
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
# setup build arguments for version of dependencies to use
|
# setup build arguments for version of dependencies to use
|
||||||
ARG NGINX_VERSION=1.19.3-alpine
|
|
||||||
|
|
||||||
ARG DOCKER_GEN_VERSION=0.7.4
|
ARG DOCKER_GEN_VERSION=0.7.4
|
||||||
ARG FOREGO_VERSION=0.16.1
|
ARG FOREGO_VERSION=0.16.1
|
||||||
|
|
||||||
@ -44,7 +42,7 @@ RUN go get -v ./... && \
|
|||||||
CGO_ENABLED=0 GOOS=linux go build -o forego .
|
CGO_ENABLED=0 GOOS=linux go build -o forego .
|
||||||
|
|
||||||
# Build the final image
|
# Build the final image
|
||||||
FROM nginx:$NGINX_VERSION
|
FROM nginx:1.19.3-alpine
|
||||||
LABEL maintainer="Jason Wilder mail@jasonwilder.com"
|
LABEL maintainer="Jason Wilder mail@jasonwilder.com"
|
||||||
|
|
||||||
# Install wget and install/updates certificates
|
# Install wget and install/updates certificates
|
||||||
|
Loading…
x
Reference in New Issue
Block a user