mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-23 04:21:18 +00:00
Meta: Update Dockerfile
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
18bfb47b28
commit
e63451b3c3
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
FROM golang:alpine
|
||||
|
||||
MAINTAINER Knut Ahlers <knut@ahlers.me>
|
||||
LABEL maintainer "Knut Ahlers <knut@ahlers.me>"
|
||||
|
||||
ADD . /go/src/github.com/Luzifer/mondash
|
||||
WORKDIR /go/src/github.com/Luzifer/mondash
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add --update git \
|
||||
&& apk add --update git ca-certificates \
|
||||
&& go install -ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" \
|
||||
&& apk del --purge git
|
||||
|
||||
|
|
Loading…
Reference in a new issue