Skip to content

Commit

Permalink
Add docker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jadolg committed Aug 29, 2018
1 parent ed59abd commit 94937a9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/*
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.11.0-alpine3.8

RUN apk update
RUN apk add git
RUN go get -u github.com/golang/dep/...

COPY . /go/src/github.com/jadolg/DockerImageSave/
WORKDIR /go/src/github.com/jadolg/DockerImageSave/

RUN dep ensure

RUN go build github.com/jadolg/DockerImageSave/cmds/DockerImageSaveServer

0 comments on commit 94937a9

Please sign in to comment.