update helper

This commit is contained in:
Andras Bacsai 2023-09-04 16:40:16 +02:00
parent 73c59be865
commit ffbd04df29
2 changed files with 7 additions and 8 deletions

View File

@ -310,7 +310,7 @@ private function prepare_builder_image()
if (isDev()) { if (isDev()) {
$pull = "--pull=never"; $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( $this->execute_remote_command(
[ [

View File

@ -2,15 +2,15 @@ FROM alpine:3.17
ARG TARGETPLATFORM ARG TARGETPLATFORM
# https://download.docker.com/linux/static/stable/ # 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 # 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 # 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 # https://github.com/buildpacks/pack/releases
ARG PACK_VERSION=0.29.0 ARG PACK_VERSION=0.30.0
# https://github.com/railwayapp/nixpacks/releases # https://github.com/railwayapp/nixpacks/releases
ARG NIXPACKS_VERSION=1.12.0 ARG NIXPACKS_VERSION=1.13.0
USER root USER root
WORKDIR /artifacts WORKDIR /artifacts
@ -38,5 +38,4 @@ COPY --from=minio/mc /usr/bin/mc /usr/bin/mc
RUN chmod +x /usr/bin/mc RUN chmod +x /usr/bin/mc
ENTRYPOINT ["/sbin/tini", "--"] ENTRYPOINT ["/sbin/tini", "--"]
CMD ["sh", "-c", "while true; do sleep 1; done"] CMD ["tail", "-f", "/dev/null"]