Skip to content

Commit 7f1cff4

Browse files
committed
Adds a Dockerfile that creates a terragrunt image
1 parent 9362e01 commit 7f1cff4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM golang:1.16.3-alpine as builder
2+
3+
RUN apk add --update --no-cache make git
4+
5+
WORKDIR /go/src/terragrunt
6+
7+
COPY . .
8+
9+
RUN make build
10+
11+
###
12+
13+
FROM alpine:latest
14+
15+
COPY --from=builder /go/src/terragrunt /usr/local/bin/
16+
17+
CMD ["terragrunt"]

0 commit comments

Comments
 (0)