34
3
mirror of https://github.com/joomla-docker/docker-joomla.git synced 2024-11-17 18:45:11 +00:00

Adds Joomla 5.0.0 and 4.4.0 Removes Joomla 5.0.beta and 4.4.beta.

This commit is contained in:
Llewellyn van der Merwe 2023-10-18 11:56:58 +02:00
parent dc5b2b8442
commit 8cac4ff7ae
Signed by: Llewellyn
GPG Key ID: A9201372263741E7
50 changed files with 130 additions and 94 deletions

View File

@ -150,12 +150,12 @@ RUN set -eux; \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -130,12 +130,12 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -132,12 +132,12 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -150,12 +150,12 @@ RUN set -eux; \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -130,12 +130,12 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -132,12 +132,12 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -150,12 +150,12 @@ RUN set -eux; \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -130,12 +130,12 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -132,12 +132,12 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1 ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252 ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \

View File

@ -15,6 +15,8 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews # Ghostscript is required for rendering PDF previews
ghostscript \ ghostscript \
# Needed for the zst joomla package
zstd \
; \ ; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@ -150,16 +152,16 @@ RUN set -eux; \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.zst -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0/Joomla_5.0.0-Stable-Full_Package.tar.zst; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.bz2; \ rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla chown -R www-data:www-data /usr/src/joomla
# Copy init scripts # Copy init scripts

View File

@ -18,6 +18,8 @@ RUN set -eux; \
ghostscript \ ghostscript \
# Alpine package for "imagemagick" contains ~120 .so files # Alpine package for "imagemagick" contains ~120 .so files
imagemagick \ imagemagick \
# Needed for the zst joomla package
zstd \
; ;
# install the PHP extensions we need. # install the PHP extensions we need.
@ -130,16 +132,16 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.zst -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0/Joomla_5.0.0-Stable-Full_Package.tar.zst; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.bz2; \ rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla chown -R www-data:www-data /usr/src/joomla
# Copy init scripts # Copy init scripts

View File

@ -15,6 +15,8 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews # Ghostscript is required for rendering PDF previews
ghostscript \ ghostscript \
# Needed for the zst joomla package
zstd \
; \ ; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@ -132,16 +134,16 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.zst -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0/Joomla_5.0.0-Stable-Full_Package.tar.zst; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.bz2; \ rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla chown -R www-data:www-data /usr/src/joomla
# Copy init scripts # Copy init scripts

View File

@ -15,6 +15,8 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews # Ghostscript is required for rendering PDF previews
ghostscript \ ghostscript \
# Needed for the zst joomla package
zstd \
; \ ; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@ -150,16 +152,16 @@ RUN set -eux; \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.zst -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0/Joomla_5.0.0-Stable-Full_Package.tar.zst; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.bz2; \ rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla chown -R www-data:www-data /usr/src/joomla
# Copy init scripts # Copy init scripts

View File

@ -18,6 +18,8 @@ RUN set -eux; \
ghostscript \ ghostscript \
# Alpine package for "imagemagick" contains ~120 .so files # Alpine package for "imagemagick" contains ~120 .so files
imagemagick \ imagemagick \
# Needed for the zst joomla package
zstd \
; ;
# install the PHP extensions we need. # install the PHP extensions we need.
@ -130,16 +132,16 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.zst -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0/Joomla_5.0.0-Stable-Full_Package.tar.zst; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.bz2; \ rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla chown -R www-data:www-data /usr/src/joomla
# Copy init scripts # Copy init scripts

View File

@ -15,6 +15,8 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews # Ghostscript is required for rendering PDF previews
ghostscript \ ghostscript \
# Needed for the zst joomla package
zstd \
; \ ; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@ -132,16 +134,16 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
# Define Joomla version and expected SHA512 signature # Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1 ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1 ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2; \ curl -o joomla.tar.zst -SL https://github.com/joomla/joomla-cms/releases/download/5.0.0/Joomla_5.0.0-Stable-Full_Package.tar.zst; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.tar.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.bz2; \ rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla chown -R www-data:www-data /usr/src/joomla
# Copy init scripts # Copy init scripts

View File

@ -17,6 +17,10 @@ RUN set -eux; \
ghostscript \ ghostscript \
# Alpine package for "imagemagick" contains ~120 .so files # Alpine package for "imagemagick" contains ~120 .so files
imagemagick \ imagemagick \
{{ if env.joomlaPackageType == "tar.zst" then ( -}}
# Needed for the zst joomla package
zstd \
{{ ) else "" end -}}
; ;
{{ ) else ( -}} {{ ) else ( -}}
RUN set -eux; \ RUN set -eux; \
@ -24,6 +28,10 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews # Ghostscript is required for rendering PDF previews
ghostscript \ ghostscript \
{{ if env.joomlaPackageType == "tar.zst" then ( -}}
# Needed for the zst joomla package
zstd \
{{ ) else "" end -}}
; \ ; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
{{ ) end -}} {{ ) end -}}
@ -236,11 +244,15 @@ ENV JOOMLA_SHA512 {{ env.joomlaSha512 }}
# Download package and extract to web volume # Download package and extract to web volume
RUN set -ex; \ RUN set -ex; \
curl -o joomla.tar.bz2 -SL {{ env.joomlaPackage }}; \ curl -o joomla.{{ env.joomlaPackageType }} -SL {{ env.joomlaPackage }}; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ echo "$JOOMLA_SHA512 *joomla.{{ env.joomlaPackageType }}" | sha512sum -c -; \
mkdir /usr/src/joomla; \ mkdir /usr/src/joomla; \
{{ if env.joomlaPackageType == "tar.zst" then ( -}}
tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
{{ ) else ( -}}
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
rm joomla.tar.bz2; \ {{ ) end -}}
rm joomla.{{ env.joomlaPackageType }}; \
chown -R www-data:www-data /usr/src/joomla chown -R www-data:www-data /usr/src/joomla
# Copy init scripts # Copy init scripts

View File

@ -58,6 +58,9 @@ for version; do
# get this version Joomla Package URL # get this version Joomla Package URL
joomlaPackage="$(echo "${joomlaVersionDetails}" | jq -r '.package')" joomlaPackage="$(echo "${joomlaVersionDetails}" | jq -r '.package')"
export joomlaPackage export joomlaPackage
# get this version Joomla Package Type
joomlaPackageType="$(echo "${joomlaVersionDetails}" | jq -r '.packageType')"
export joomlaPackageType
for phpVersion in "${phpVersions[@]}"; do for phpVersion in "${phpVersions[@]}"; do
export phpVersion export phpVersion

View File

@ -1,9 +1,9 @@
{ {
"5.0.rc": { "5.0": {
"version": "5.0.0-rc1", "version": "5.0.0",
"package": "https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2", "packageType": "tar.zst",
"php": "8.2", "php": "8.2",
"aliases": ["5.0.0-rc"], "aliases": ["5.0.0"],
"phpVersions": { "phpVersions": {
"8.2": { "8.2": {
"pecl": { "pecl": {
@ -27,11 +27,10 @@
"fpm" "fpm"
] ]
}, },
"4.4.rc": { "4.4": {
"version": "4.4.0-rc1", "version": "4.4.0",
"package": "https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2",
"php": "8.1", "php": "8.1",
"aliases": ["4.4.0-rc"], "aliases": ["4.4.0"],
"phpVersions": { "phpVersions": {
"8.2": { "8.2": {
"pecl": { "pecl": {
@ -64,7 +63,7 @@
}, },
"4.3": { "4.3": {
"version": "4.3.4", "version": "4.3.4",
"php": "8.0", "php": "8.1",
"aliases": [4, "latest"], "aliases": [4, "latest"],
"phpVersions": { "phpVersions": {
"8.2": { "8.2": {

View File

@ -4,6 +4,7 @@
3 3
], ],
"package": "https://github.com/joomla/joomla-cms/releases/download/3.10.12/Joomla_3.10.12-Stable-Full_Package.tar.bz2", "package": "https://github.com/joomla/joomla-cms/releases/download/3.10.12/Joomla_3.10.12-Stable-Full_Package.tar.bz2",
"packageType": "tar.bz2",
"php": "8.0", "php": "8.0",
"phpVersions": [ "phpVersions": [
"8.0" "8.0"
@ -23,7 +24,8 @@
"latest" "latest"
], ],
"package": "https://github.com/joomla/joomla-cms/releases/download/4.3.4/Joomla_4.3.4-Stable-Full_Package.tar.bz2", "package": "https://github.com/joomla/joomla-cms/releases/download/4.3.4/Joomla_4.3.4-Stable-Full_Package.tar.bz2",
"php": "8.0", "packageType": "tar.bz2",
"php": "8.1",
"phpVersions": [ "phpVersions": [
"8.0", "8.0",
"8.1", "8.1",
@ -38,43 +40,45 @@
], ],
"version": "4.3.4" "version": "4.3.4"
}, },
"4.4.rc": { "4.4": {
"aliases": [ "aliases": [
"4.4.0-rc" "4.4.0"
], ],
"package": "https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2", "package": "https://github.com/joomla/joomla-cms/releases/download/4.4.0/Joomla_4.4.0-Stable-Full_Package.tar.bz2",
"packageType": "tar.bz2",
"php": "8.1", "php": "8.1",
"phpVersions": [ "phpVersions": [
"8.0", "8.0",
"8.1", "8.1",
"8.2" "8.2"
], ],
"sha512": "f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1", "sha512": "800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838",
"variant": "apache", "variant": "apache",
"variants": [ "variants": [
"apache", "apache",
"fpm-alpine", "fpm-alpine",
"fpm" "fpm"
], ],
"version": "4.4.0-rc1" "version": "4.4.0"
}, },
"5.0.rc": { "5.0": {
"aliases": [ "aliases": [
"5.0.0-rc" "5.0.0"
], ],
"package": "https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2", "package": "https://github.com/joomla/joomla-cms/releases/download/5.0.0/Joomla_5.0.0-Stable-Full_Package.tar.zst",
"packageType": "tar.zst",
"php": "8.2", "php": "8.2",
"phpVersions": [ "phpVersions": [
"8.1", "8.1",
"8.2" "8.2"
], ],
"sha512": "23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252", "sha512": "329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79",
"variant": "apache", "variant": "apache",
"variants": [ "variants": [
"apache", "apache",
"fpm-alpine", "fpm-alpine",
"fpm" "fpm"
], ],
"version": "5.0.0-rc1" "version": "5.0.0"
} }
} }

View File

@ -40,32 +40,38 @@ for version in "${versions[@]}"; do
fullVersion=$(echo $versionsHelper | jq -r '.[env.version].version') fullVersion=$(echo $versionsHelper | jq -r '.[env.version].version')
export fullVersion export fullVersion
# lets see if we have a tar URL # lets see if we have a source URL
package=$(echo $versionsHelper | jq -r '.[env.version].package') package=$(echo $versionsHelper | jq -r '.[env.version].package')
packageType=$(echo $versionsHelper | jq -r '.[env.version].packageType')
if [ -z "$packageType" ] || [ "$packageType" = "null" ]; then
packageType="tar.bz2"
fi
# when not found we load sha512 from API # when not found we load sha512 from API
if [ "${package}" = 'null' ]; then if [ -z "${package}" ] || [ "${package}" = 'null' ]; then
# get the url version # get the url version
urlVersion=$(echo $fullVersion | sed -e 's/\./-/g') urlVersion=$(echo $fullVersion | sed -e 's/\./-/g')
# get the hash # get the hash
sha512="$(curl -fsSL "https://downloads.joomla.org/api/v1/signatures/cms/$urlVersion" | jq -r --arg file "Joomla_${fullVersion}-Stable-Full_Package.tar.bz2" '.[] | .[] | select(.filename == $file).sha512')" sha512="$(curl -fsSL "https://downloads.joomla.org/api/v1/signatures/cms/$urlVersion" | jq -r --arg file "Joomla_${fullVersion}-Stable-Full_Package.${packageType}" '.[] | .[] | select(.filename == $file).sha512')"
# set the full URL for the IMAGES # set the full URL for the IMAGES
package="https://github.com/joomla/joomla-cms/releases/download/${fullVersion}/Joomla_${fullVersion}-Stable-Full_Package.tar.bz2" package="https://github.com/joomla/joomla-cms/releases/download/${fullVersion}/Joomla_${fullVersion}-Stable-Full_Package.${packageType}"
else else
# we get the sha from the package # we get the sha from the package
curl -o joomla.tar.bz2 -SL "${package}" &>/dev/null curl -o "joomla.${packageType}" -SL "${package}" &>/dev/null
# get the hash # get the hash
sha512=$(sha512sum joomla.tar.bz2 | cut -d " " -f 1) sha512=$(sha512sum "joomla.${packageType}" | cut -d " " -f 1)
# remove the file # remove the file
rm joomla.tar.bz2 rm "joomla.${packageType}"
fi fi
# set the hash to the JSON # set the hash to the JSON
if [ -n "$sha512" ] && [ -n "$package" ]; then if [ -n "$sha512" ] && [ -n "$package" ] && [ -n "$packageType" ]; then
export sha512 export sha512
export package export package
export packageType
doc="$(jq <<<"$doc" -c '.sha512 = env.sha512')" doc="$(jq <<<"$doc" -c '.sha512 = env.sha512')"
doc="$(jq <<<"$doc" -c '.package = env.package')" doc="$(jq <<<"$doc" -c '.package = env.package')"
doc="$(jq <<<"$doc" -c '.packageType = env.packageType')"
fi fi
# get the default php version # get the default php version