mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 04:48:33 +07:00
Switch to scratch as docker base image for release dockerfile
Signed-off-by: Pujan Shah <pujan14@gmail.com>
This commit is contained in:
@@ -6,10 +6,11 @@
|
||||
# You may obtain a copy of the License at the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
|
||||
FROM alpine:3.12.3
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
# Use empty base image
|
||||
FROM scratch
|
||||
|
||||
# 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