Add Docker support.

This commit is contained in:
Rotem Reiss
2020-07-08 15:37:35 +03:00
parent df58acafd6
commit 952f8b4ce9
2 changed files with 28 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM golang:1-alpine AS build-env
RUN apk add --no-cache --upgrade git openssh-client ca-certificates
RUN go get -u github.com/golang/dep/cmd/dep
WORKDIR /go/src/app
# Install
RUN go get -u github.com/google/addlicense
ENTRYPOINT ["addlicense"]