diff --git a/scripts/release/Dockerfile b/scripts/release/Dockerfile index c75d66d..fee9934 100644 --- a/scripts/release/Dockerfile +++ b/scripts/release/Dockerfile @@ -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"]