diff --git a/Dockerfile b/Dockerfile index 7cbc728..c640d04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/