Skip to content

Commit

Permalink
added docker-compose binary to image
Browse files Browse the repository at this point in the history
  • Loading branch information
broizter committed Mar 4, 2024
1 parent d342c5d commit 7136067
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ sed -i 's/X11Forwarding yes/X11Forwarding no/g' /etc/ssh/sshd_config && \
if ! [ -d /root/.ssh ]; then mkdir /root/.ssh ; fi && \
if ! [ -f /root/.ssh/authorized_keys ] ; then touch /root/.ssh/authorized_keys ; fi && \
chmod 700 /root/.ssh && \
chmod 400 /root/.ssh/authorized_keys
chmod 400 /root/.ssh/authorized_keys && \
curl -L https://github.com/docker/compose/releases/download/v2.24.6/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose


COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/

Expand Down

0 comments on commit 7136067

Please sign in to comment.