From e6c5aaee82a29f3f2ad6352308f1036011b7e8c7 Mon Sep 17 00:00:00 2001 From: Daniel Farkas Date: Wed, 13 Nov 2024 02:47:45 -0700 Subject: [PATCH] Rename docker bin name to /bin/dep (#3955) * Typo in version * Fix dep path --------- Co-authored-by: Daniel Farkas --- Dockerfile | 4 ++-- docs/ci-cd.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f4c3c1242..e4462367f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM php:8.3-cli-alpine RUN apk add --no-cache bash git openssh-client rsync -COPY deployer.phar /bin/deployer.phar +COPY --chmod=755 deployer.phar /bin/dep WORKDIR /app -ENTRYPOINT ["php", "/bin/deployer.phar"] +ENTRYPOINT ["/bin/dep"] diff --git a/docs/ci-cd.md b/docs/ci-cd.md index f478b6a03..e421cc15b 100755 --- a/docs/ci-cd.md +++ b/docs/ci-cd.md @@ -61,7 +61,7 @@ stages: deploy: stage: deploy image: - name: deployphp/deployer:7 + name: deployphp/deployer:v7 entrypoint: [""] before_script: - mkdir -p ~/.ssh