mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-09 18:00:40 +00:00
4b61f1c76a
To avoid the download of untrusted packages I have updated the Dockerfile to use a package provided by alpine community repository.
17 lines
411 B
Docker
17 lines
411 B
Docker
# Docker image for the Drone Terraform plugin
|
|
#
|
|
# cd $GOPATH/src/github.com/drone-plugins/drone-terraform
|
|
# make deps build docker
|
|
|
|
FROM alpine:3.4
|
|
|
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \
|
|
apk -U add \
|
|
ca-certificates \
|
|
git \
|
|
terraform && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
ADD drone-terraform /bin/
|
|
ENTRYPOINT ["/bin/drone-terraform"]
|