Skip to content

Commit 7069e76

Browse files
committed
Add docker-compose to build image
1 parent 0619c64 commit 7069e76

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

images/build/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,15 @@ RUN set -ex \
160160
&& chmod 0755 /usr/local/bin/kustomize \
161161
&& chown root:root /usr/local/bin/kustomize
162162

163+
# ------------------------------------------------------------------------------------------------
164+
# docker-compose
165+
166+
RUN set -ex \
167+
&& export DOCKER_COMPOSE_VERSION="1.29.2" \
168+
&& curl -sL -o /usr/local/bin/docker-compose "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64" \
169+
&& chmod +x /usr/local/bin/docker-compose \
170+
&& chown root:root /usr/local/bin/docker
171+
163172
# ------------------------------------------------------------------------------------------------
164173
# Run tini as PID 1 and avoid signal handling issues
165174

0 commit comments

Comments
 (0)