1
0
mirror of https://github.com/Luzifer/password.git synced 2024-09-18 18:02:56 +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>"