Skip to content

Commit

Permalink
fix: update packages within image
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored Apr 24, 2024
1 parent 9423c20 commit 4a06bd8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit 4a06bd8

Please sign in to comment.