This commit is contained in:
Hyatt 2022-01-30 14:22:34 -06:00
parent 8b4b589903
commit d62974e829
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -19,7 +19,8 @@ RUN set -x && \\
addgroup -S -g 1000 app && \\
adduser --disabled-password -G app --gecos "application account" --home "/home/app" --shell "/sbin/nologin" --no-create-home --uid 1000 app && \\
go mod download && \\
GIT_HASH="\$(git rev-parse --short HEAD) && GIT_TAG=\$(git tag | tail -1)"" && \\
GIT_HASH="\$(git rev-parse --short HEAD)" && \\
GIT_TAG="\$(git tag | tail -1)" && \\
CGO_ENABLED="0" && \\
GOOS="linux" && \\
GOARCH="amd64" && \\