Skip to content

Commit

Permalink
Merge pull request #17 from topfreegames/chore/bump_terragrunt
Browse files Browse the repository at this point in the history
feat: terragrunt update from 0.51.8 to 0.66.6
  • Loading branch information
kalabiyau authored Aug 15, 2024
2 parents a1eee1d + 0066bed commit 7f2633f
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ ARG ZIP_VERSION=3.0-r12
ARG OPENSSH_VERSION=9.7_p1-r4
ARG KUSTOMIZE_VERSION=5.3.0-r6


ARG VAULT_VERSION=1.13.5
ARG CONFTEST_VERSION=0.46.0
ARG TFENV_VERSION=1.1.1
ARG KUBECTL_VERSION=v1.27.6
ARG TERRAGRUNT=v0.51.8
ARG TERRAGRUNT=v0.66.6
ARG PSQL_VERSION=15.7-r0
ARG MYSQL_VERSION=10.11.8-r0
ARG ROVER_VERSION=0.3.3
Expand All @@ -28,51 +27,51 @@ ARG HELM_DIFF_VERSION=v3.8.2
# Base dependencies
RUN apk update && \
apk add --no-cache \
bash=${BASH_VERSION} \
curl=${CURL_VERSION} \
grep=${GREP_VERSION} \
git=${GIT_VERSION} \
python3=${PYTHON_VERSION} \
make=${MAKE_VERSION} \
py3-pip=${PY3_PIP_VERSION} \
jq=${JQ_VERSION} \
zip=${ZIP_VERSION} \
postgresql15-client=${PSQL_VERSION} \
mysql-client=${MYSQL_VERSION} \
openssh=${OPENSSH_VERSION} \
kustomize=${KUSTOMIZE_VERSION}
bash=${BASH_VERSION} \
curl=${CURL_VERSION} \
grep=${GREP_VERSION} \
git=${GIT_VERSION} \
python3=${PYTHON_VERSION} \
make=${MAKE_VERSION} \
py3-pip=${PY3_PIP_VERSION} \
jq=${JQ_VERSION} \
zip=${ZIP_VERSION} \
postgresql15-client=${PSQL_VERSION} \
mysql-client=${MYSQL_VERSION} \
openssh=${OPENSSH_VERSION} \
kustomize=${KUSTOMIZE_VERSION}

RUN apk add --no-cache \
helm \
aws-cli \
yq \
flux \
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
helm \
aws-cli \
yq \
flux \
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/community

# OPA
RUN curl -L -o /usr/bin/opa https://github.com/open-policy-agent/opa/releases/download/v0.67.0/opa_linux_amd64 \
&& chmod +x /usr/bin/opa

# Vault
RUN curl https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip --output - | \
busybox unzip -d /usr/bin/ - && \
chmod +x /usr/bin/vault
busybox unzip -d /usr/bin/ - && \
chmod +x /usr/bin/vault

# conftest
RUN curl -L https://github.com/open-policy-agent/conftest/releases/download/v${CONFTEST_VERSION}/conftest_${CONFTEST_VERSION}_Linux_x86_64.tar.gz --output - | \
tar -xzf - -C /usr/local/bin
tar -xzf - -C /usr/local/bin

# rover
RUN curl -LO https://github.com/im2nguyen/rover/releases/download/v${ROVER_VERSION}/rover_${ROVER_VERSION}_linux_amd64.zip && \
busybox unzip -d /tmp/ rover_${ROVER_VERSION}_linux_amd64.zip && \
mv /tmp/rover_v${ROVER_VERSION} /usr/bin/rover && \
chmod +x /usr/bin/rover && \
rm -r /tmp/* && rm rover_${ROVER_VERSION}_linux_amd64.zip
busybox unzip -d /tmp/ rover_${ROVER_VERSION}_linux_amd64.zip && \
mv /tmp/rover_v${ROVER_VERSION} /usr/bin/rover && \
chmod +x /usr/bin/rover && \
rm -r /tmp/* && rm rover_${ROVER_VERSION}_linux_amd64.zip

# tfenv (terraform)
RUN git clone -b ${TFENV_VERSION} --single-branch --depth 1 \
https://github.com/topfreegames/tfenv.git /opt/tfenv && \
ln -s /opt/tfenv/bin/* /usr/local/bin
https://github.com/topfreegames/tfenv.git /opt/tfenv && \
ln -s /opt/tfenv/bin/* /usr/local/bin

# Terragrunt
ADD https://github.com/gruntwork-io/terragrunt/releases/download/${TERRAGRUNT}/terragrunt_linux_amd64 /usr/local/bin/terragrunt
Expand Down

0 comments on commit 7f2633f

Please sign in to comment.