Skip to content

Commit

Permalink
build env
Browse files Browse the repository at this point in the history
  • Loading branch information
aidansteele committed Jun 28, 2019
1 parent b764706 commit 36fc4e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM golang:1.12-alpine
RUN apk add --update git upx
ADD https://github.com/goreleaser/goreleaser/releases/download/v0.106.0/goreleaser_Linux_x86_64.tar.gz .
RUN tar -xvf goreleaser_Linux_x86_64.tar.gz && mv goreleaser /usr/bin

ENV CGO_ENABLED=0

WORKDIR /wd
COPY go.mod go.sum ./
RUN go mod download

0 comments on commit 36fc4e7

Please sign in to comment.