Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically build docker terraform image #10

Merged
merged 1 commit into from
Jan 5, 2022
Merged

Conversation

zzxwill
Copy link
Member

@zzxwill zzxwill commented Jan 5, 2022

Merge repo oam-dev/docker-terraform-base into this repo and automatically
build the image

Signed-off-by: Zheng Xi Zhou [email protected]

Merge repo oam-dev/docker-terraform-base into this repo and automatically
build the image

Signed-off-by: Zheng Xi Zhou <[email protected]>
@zzxwill zzxwill merged commit 5a760c8 into oam-dev:master Jan 5, 2022
@zzxwill zzxwill deleted the build branch January 5, 2022 08:16
LABEL org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/broadinstitute/docker-terraform"
RUN $RETRIEVE_TF_PROVIDER random 3.1.0
RUN $RETRIEVE_TF_PROVIDER alicloud 1.140.0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe always use the newest version is better.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alicloud or random?

apk add --virtual=build gcc libffi-dev musl-dev openssl-dev python3-dev make && \
apk add curl jq python3 ca-certificates git openssl unzip wget && \
pip --no-cache-dir install -U pip && \
pip install azure-cli && \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why used the azure-cli here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the provide is azurerm, it's needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants