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:
parent
4818e08744
commit
7ecce5493b
@ -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>"
|
||||
|
Loading…
Reference in New Issue
Block a user