Skip to content

Commit

Permalink
feat: alpine 3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
MPThLee authored Dec 11, 2023
1 parent 932c6ce commit 9bb5567
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG MEDIAWIKI_VERSION=1.39.5
ARG ALPINE_VERSION=3.18
ARG ALPINE_VERSION=3.19

# Download mediawiki
FROM alpine:$ALPINE_VERSION as builder
Expand Down Expand Up @@ -39,9 +39,8 @@ RUN COMPOSER_HOME=/tmp/composer composer update --no-dev
# NO I WON'T USE PHP IMAGE SINCE IT'S TOO BIG
FROM alpine:$ALPINE_VERSION

# LuaSandbox package is added on (edge, as of v3.18) community branch. we need to add for luasandbox.
RUN echo "@edgecommunity https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
apk add --update --no-cache \
# LuaSandbox package is added on community branch (as of v3.19) ).
RUN apk add --update --no-cache \
# Basic utils
curl imagemagick rsvg-convert diffutils ffmpeg sudo lua tar bzip2 zstd bash mariadb-client \
# Web server
Expand All @@ -53,7 +52,7 @@ RUN echo "@edgecommunity https://dl-cdn.alpinelinux.org/alpine/edge/community" >
# Mediawiki requirements
php81-session php81-openssl php81-json php81-mbstring php81-fileinfo php81-intl php81-calendar php81-xml \
# Mediawiki configuration requirements.
php81-curl php81-mysqli php81-mysqlnd php81-gd php81-dom php81-ctype php81-iconv php81-zlib php81-xmlreader php81-pecl-luasandbox@edgecommunity \
php81-curl php81-mysqli php81-mysqlnd php81-gd php81-dom php81-ctype php81-iconv php81-zlib php81-xmlreader php81-pecl-luasandbox \
# Mediawiki caching and extensions requirements
php81-simplexml php81-tokenizer php81-xmlwriter php81-opcache php81-phar php81-pecl-apcu php81-pecl-redis php81-pcntl php81-posix

Expand Down

0 comments on commit 9bb5567

Please sign in to comment.