Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.

Commit

Permalink
Add Dockerfile for local-run version
Browse files Browse the repository at this point in the history
Signed-off-by: Knut Ahlers <[email protected]>
  • Loading branch information
Luzifer committed Mar 13, 2017
1 parent 3350d59 commit e5857ec
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM golang:alpine

MAINTAINER Knut Ahlers <[email protected]>

ADD . /go/src/github.com/Luzifer/gh-private-dl
WORKDIR /go/src/github.com/Luzifer/gh-private-dl

RUN set -ex \
&& 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

EXPOSE 3000

ENTRYPOINT ["/go/bin/gh-private-dl"]
CMD ["run"]

0 comments on commit e5857ec

Please sign in to comment.