From ffbd04df299fa098249906ff9250adadb464cb62 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 4 Sep 2023 16:40:16 +0200 Subject: [PATCH] update helper --- app/Jobs/ApplicationDeploymentJob.php | 2 +- docker/coolify-helper/Dockerfile | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php index 4ed9491d1..579311c46 100644 --- a/app/Jobs/ApplicationDeploymentJob.php +++ b/app/Jobs/ApplicationDeploymentJob.php @@ -310,7 +310,7 @@ private function prepare_builder_image() if (isDev()) { $pull = "--pull=never"; } - $runCommand = "docker run --init {$pull} -d --network {$this->destination->network} -v /:/host --name {$this->deployment_uuid} --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coollabsio/coolify-helper"; + $runCommand = "docker run {$pull} -d --network {$this->destination->network} -v /:/host --name {$this->deployment_uuid} --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coollabsio/coolify-helper"; $this->execute_remote_command( [ diff --git a/docker/coolify-helper/Dockerfile b/docker/coolify-helper/Dockerfile index 9fe9c317f..913d75f11 100644 --- a/docker/coolify-helper/Dockerfile +++ b/docker/coolify-helper/Dockerfile @@ -2,15 +2,15 @@ FROM alpine:3.17 ARG TARGETPLATFORM # https://download.docker.com/linux/static/stable/ -ARG DOCKER_VERSION=23.0.6 +ARG DOCKER_VERSION=24.0.5 # https://github.com/docker/compose/releases -ARG DOCKER_COMPOSE_VERSION=2.18.1 +ARG DOCKER_COMPOSE_VERSION=2.21.0 # https://github.com/docker/buildx/releases -ARG DOCKER_BUILDX_VERSION=0.10.5 +ARG DOCKER_BUILDX_VERSION=0.11.2 # https://github.com/buildpacks/pack/releases -ARG PACK_VERSION=0.29.0 +ARG PACK_VERSION=0.30.0 # https://github.com/railwayapp/nixpacks/releases -ARG NIXPACKS_VERSION=1.12.0 +ARG NIXPACKS_VERSION=1.13.0 USER root WORKDIR /artifacts @@ -38,5 +38,4 @@ COPY --from=minio/mc /usr/bin/mc /usr/bin/mc RUN chmod +x /usr/bin/mc ENTRYPOINT ["/sbin/tini", "--"] -CMD ["sh", "-c", "while true; do sleep 1; done"] - +CMD ["tail", "-f", "/dev/null"]