1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-10-18 07:34:22 +00:00

Switch Dockerfile to readonly modules and recent alpine

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-06-30 00:35:58 +02:00
parent f9118beb79
commit 0efe62db0e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -11,9 +11,9 @@ RUN set -ex \
git \ git \
&& go install \ && go install \
-ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" \ -ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" \
-mod=vendor -mod=readonly
FROM alpine:3.8 FROM alpine
LABEL maintainer "Knut Ahlers <knut@ahlers.me>" LABEL maintainer "Knut Ahlers <knut@ahlers.me>"