Skip to content

Commit

Permalink
Adds a Dockerfile that creates a terragrunt image
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon committed May 3, 2021
1 parent 9362e01 commit 7f1cff4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM golang:1.16.3-alpine as builder

RUN apk add --update --no-cache make git

WORKDIR /go/src/terragrunt

COPY . .

RUN make build

###

FROM alpine:latest

COPY --from=builder /go/src/terragrunt /usr/local/bin/

CMD ["terragrunt"]

0 comments on commit 7f1cff4

Please sign in to comment.