mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-20 12:51:17 +00:00
Switch Dockerfile to readonly modules and recent alpine
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f9118beb79
commit
0efe62db0e
1 changed files with 2 additions and 2 deletions
|
@ -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>"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue