1
0
Fork 0
mirror of https://github.com/Luzifer/password.git synced 2024-11-09 09:50:07 +00:00

Update Dockerfile

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-06-27 21:56:08 +02:00
parent 4818e08744
commit 7ecce5493b
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -4,9 +4,13 @@ COPY . /src/github.com/Luzifer/password
WORKDIR /src/github.com/Luzifer/password/cmd/password
RUN set -ex \
&& apk add --update git \
&& apk add --no-cache \
git \
nodejs \
npm \
&& go install -ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)"
FROM alpine:latest
LABEL maintainer "Knut Ahlers <knut@ahlers.me>"