mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
@@ -20,10 +20,9 @@ COPY . .
|
||||
RUN make build
|
||||
|
||||
################
|
||||
|
||||
FROM alpine:3.13.3
|
||||
|
||||
# Copy static executable for terraform-docs
|
||||
COPY --from=builder /go/src/terraform-docs/bin/linux-amd64/terraform-docs /usr/local/bin/
|
||||
|
||||
# Set entrypoint
|
||||
ENTRYPOINT ["terraform-docs"]
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
|
||||
FROM alpine:3.13.3
|
||||
|
||||
# Copy static executable for terraform-docs
|
||||
COPY terraform-docs /usr/local/bin/terraform-docs
|
||||
|
||||
# Set entrypoint
|
||||
ENTRYPOINT ["terraform-docs"]
|
||||
|
||||
Reference in New Issue
Block a user