Skip to content

Commit 0619c64

Browse files
committed
Add dockerize/sops/helm/kustomize
1 parent 1b4007d commit 0619c64

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

images/build/Dockerfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,50 @@ RUN set -ex \
116116
&& rm rclone-v${RCLONE_VERSION}-linux-amd64.deb \
117117
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
118118

119+
# ------------------------------------------------------------------------------------------------
120+
# dockerize
121+
RUN set -ex \
122+
&& export DOCKERIZE_VERSION="2.1.0" \
123+
&& curl -sL -o dockerize.tar.gz "https://github.com/presslabs/dockerize/releases/download/v${DOCKERIZE_VERSION}/dockerize-linux-amd64-v${DOCKERIZE_VERSION}.tar.gz" \
124+
&& tar -C /usr/local/bin -xzvf dockerize.tar.gz \
125+
&& rm dockerize.tar.gz \
126+
&& chmod 0755 /usr/local/bin/dockerize \
127+
&& chown root:root /usr/local/bin/dockerize
128+
129+
# ------------------------------------------------------------------------------------------------
130+
# sops
131+
RUN set -ex \
132+
&& export SOPS_VERSION="3.7.1" \
133+
&& curl -sL -o /usr/local/bin/sops "https://github.com/mozilla/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux" \
134+
&& chmod 0755 /usr/local/bin/sops \
135+
&& chown root:root /usr/local/bin/sops
136+
137+
# ------------------------------------------------------------------------------------------------
138+
# helm
139+
RUN set -ex \
140+
&& export HELM_VERSION="3.6.3" \
141+
&& curl -sL -o helm.tar.gz "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz" \
142+
&& tar -C /usr/local/bin -xzvf helm.tar.gz --strip-components 1 linux-amd64/helm \
143+
&& rm helm.tar.gz \
144+
&& chmod 0755 /usr/local/bin/helm \
145+
&& chown root:root /usr/local/bin/helm
146+
147+
# ------------------------------------------------------------------------------------------------
148+
# helm secrets plugin
149+
RUN set -ex \
150+
&& export HELM_SECRETS_VERSION="3.8.3" \
151+
&& helm plugin install https://github.com/jkroepke/helm-secrets --version ${HELM_SECRETS_VERSION}
152+
153+
# ------------------------------------------------------------------------------------------------
154+
# kustomize
155+
RUN set -ex \
156+
&& export KUSTOMIZE_VERSION="4.2.0" \
157+
&& curl -sL -o kustomize.tar.gz "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz" \
158+
&& tar -C /usr/local/bin -xzvf kustomize.tar.gz \
159+
&& rm kustomize.tar.gz \
160+
&& chmod 0755 /usr/local/bin/kustomize \
161+
&& chown root:root /usr/local/bin/kustomize
162+
119163
# ------------------------------------------------------------------------------------------------
120164
# Run tini as PID 1 and avoid signal handling issues
121165

0 commit comments

Comments
 (0)