From a4723a077e915900acaf0bd4f985a13e56062416 Mon Sep 17 00:00:00 2001 From: Jens True Date: Tue, 1 Apr 2025 12:41:18 +0000 Subject: [PATCH] Download first and then install package --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index aaea83f..9a5d40a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM composer WORKDIR /src COPY . /src -RUN composer update --no-dev +RUN composer update --no-dev && wget https://downloads.rclone.org/rclone-current-linux-amd64.deb FROM php:8.4-cli COPY --from=0 ./src /app WORKDIR /app -RUN wget https://downloads.rclone.org/rclone-current-linux-amd64.deb && dpkg -i rclone-current-linux-amd64.deb && rm rclone-current-linux-amd64.deb +RUN dpkg -i rclone-current-linux-amd64.deb && rm rclone-current-linux-amd64.deb ENTRYPOINT ["./backup"] \ No newline at end of file