Skip to content

Commit

Permalink
Add the docker version of ssm-parent
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Dementiev committed Jun 24, 2019
1 parent e60745a commit f1d9fb4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM golang:1.12-alpine as build

RUN apk update && apk add git

WORKDIR /app

ADD go.mod go.sum ./

RUN go mod download

ADD ./ ./
ENV CGO_ENABLED=0
RUN go build

FROM alpine as runtime

COPY --from=build /app/ssm-parent /usr/bin

ENTRYPOINT ["/usr/bin/ssm-parent"]
13 changes: 0 additions & 13 deletions Dockerfile.build

This file was deleted.

4 changes: 0 additions & 4 deletions build.sh

This file was deleted.

0 comments on commit f1d9fb4

Please sign in to comment.