Skip to content

Commit

Permalink
[VDEVOPS-000] Upgrade providers
Browse files Browse the repository at this point in the history
Signed-off-by: adobrodey <[email protected]>
  • Loading branch information
ADobrodey committed Feb 28, 2024
1 parent d873024 commit d1d2d1f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 88 deletions.
14 changes: 10 additions & 4 deletions atlantis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ RUN \
mv infracost-linux-amd64 /usr/local/bin/infracost && \
rm -f infracost-linux-amd64.tar.gz

# Install inkdrop
ARG INKDROP_VERSION=v1.1.16
RUN \
wget -q \
"https://github.com/inkdrop-org/inkdrop-visualizer/releases/download/${INFRACOST_VERSION}/inkdrop-linux-x64.tar.gz" \
-O inkdrop-linux-x64.tar.gz && \
tar xzf inkdrop-linux-x64.tar.gz && \
mv inkdrop /usr/local/bin/inkdrop && \
rm -f inkdrop-linux-x64.tar.gz

USER atlantis

# Install Atlantis
Expand All @@ -28,17 +38,13 @@ RUN \
adduser -S atlantis -G atlantis && \
cp /root/.terraformrc /home/atlantis/

RUN apk add --no-cache nodejs yarn \
&& yarn global add inkdrop-visualizer

ENV TF_PLUGIN_CACHE_DIR="/usr/share/terraform/providers"
ENV ATLANTIS_TERRAFORM_VERSION=${TERRAFORM_VERSION}
ENV DEFAULT_TERRAFORM_VERSION=$TERRAFORM_VERSION
ENV TERRAGRUNT_TFPATH="terraform${TERRAFORM_VERSION}"
ENV TF_PLUGIN_CACHE_MAY_BREAK_DEPENDENCY_LOCK_FILE=true
ENV DEFAULT_CONFTEST_VERSION=0.35.0

#COPY ./atlantis-config.yaml /etc/atlantis/repos.yaml
COPY --from=tools /usr/local/bin/gosu /usr/local/bin/gosu
COPY --from=tools /usr/local/bin/atlantis /usr/local/bin/atlantis
COPY --from=tools /usr/bin/dumb-init /usr/local/bin/dumb-init
Expand Down
84 changes: 0 additions & 84 deletions atlantis/atlantis-config.yaml

This file was deleted.

0 comments on commit d1d2d1f

Please sign in to comment.