Skip to content

Commit

Permalink
[DATAGO-79385] Update openTofu and solaceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
moodiRealist committed Sep 13, 2024
1 parent 1f44081 commit a5164bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions service/application/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,19 @@ WORKDIR /opt/ema

ARG PLATFORM=linux_amd64

COPY tofu_1.7.0_amd64.apk /opt/ema/terraform
RUN apk --update add --allow-untrusted /opt/ema/terraform/tofu_1.7.0_amd64.apk
COPY tofu_1.8.2_amd64.apk /opt/ema/terraform
RUN apk --update add --allow-untrusted /opt/ema/terraform/tofu_1.8.2_amd64.apk

COPY .terraformrc $HOME/.terraformrc
RUN printf '#!/bin/ash\ntofu $*' > /opt/ema/terraform/terraform
RUN chmod +x /opt/ema/terraform/terraform
ENV PATH $PATH:/opt/ema/terraform

ARG SOLACE_PROVIDER_VERSION=0.9.2-rc.2
ADD terraform-provider-solacebroker_${SOLACE_PROVIDER_VERSION}_${PLATFORM}.tar.gz /opt/ema/terraform
ARG SOLACE_PROVIDER_VERSION=1.0.1
ADD terraform-provider-solacebroker_${SOLACE_PROVIDER_VERSION}_${PLATFORM}.zip /opt/ema/terraform

RUN unzip /opt/ema/terraform/terraform-provider-solacebroker_${SOLACE_PROVIDER_VERSION}_${PLATFORM}.zip -d /opt/ema/terraform && \
rm /opt/ema/terraform/terraform-provider-solacebroker_${SOLACE_PROVIDER_VERSION}_${PLATFORM}.zip

ARG GITHASH
ARG GITBRANCH
Expand Down
Binary file not shown.

0 comments on commit a5164bf

Please sign in to comment.