From 4a06bd8dbd80b69fb4b69a645c21bdc0f76f1458 Mon Sep 17 00:00:00 2001 From: lea Date: Wed, 24 Apr 2024 01:40:24 -0700 Subject: [PATCH] fix: update packages within image --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3317b29..5abf40a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,9 @@ FROM mediawiki:1.39 as builder WORKDIR /tmp -RUN apt update && apt install -y unzip +RUN apt update && apt upgrade -y + +RUN apt install -y unzip RUN curl -sS https://getcomposer.org/installer | php RUN mv composer.phar /usr/local/bin/composer @@ -38,8 +40,10 @@ RUN composer update FROM mediawiki:1.39 +RUN apt update && apt upgrade -y + # Lua setup, Scribunto has no binaries for arm64 -RUN apt update && apt install -y lua5.1 vim +RUN apt install -y lua5.1 vim RUN mkdir /var/www/logs && chmod -R o+w /var/www/logs COPY --from=builder /var/www/html /var/www/html