mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-21 14:20:40 +00:00
fix: add dependencies required by tofu or providers (#10)
This commit is contained in:
parent
8f9221028e
commit
9785aac2c6
@ -24,7 +24,8 @@ ARG TOFU_VERSION
|
|||||||
# renovate: datasource=github-releases depName=opentofu/opentofu
|
# renovate: datasource=github-releases depName=opentofu/opentofu
|
||||||
ENV TOFU_VERSION="${TOFU_VERSION:-v1.6.1}"
|
ENV TOFU_VERSION="${TOFU_VERSION:-v1.6.1}"
|
||||||
|
|
||||||
RUN apk --update add --virtual .build-deps curl libarchive-tools && \
|
RUN apk --update add --virtual .build-deps libarchive-tools && \
|
||||||
|
apk add --no-cache curl git openssh-client && \
|
||||||
curl -SsfL "https://github.com/opentofu/opentofu/releases/download/${TOFU_VERSION}/tofu_${TOFU_VERSION##v}_linux_amd64.zip" | \
|
curl -SsfL "https://github.com/opentofu/opentofu/releases/download/${TOFU_VERSION}/tofu_${TOFU_VERSION##v}_linux_amd64.zip" | \
|
||||||
bsdtar -xf - -C /usr/local/bin tofu && \
|
bsdtar -xf - -C /usr/local/bin tofu && \
|
||||||
chmod 755 /usr/local/bin/tofu && \
|
chmod 755 /usr/local/bin/tofu && \
|
||||||
|
Loading…
Reference in New Issue
Block a user