1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-12-22 20:11:18 +00:00

Meta: Update Dockerfile

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-11-22 22:40:53 +01:00
parent 18bfb47b28
commit e63451b3c3
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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