Skip to content

Commit

Permalink
Adds Joomla 5.0.0 and 4.4.0 Removes Joomla 5.0.beta and 4.4.beta.
Browse files Browse the repository at this point in the history
  • Loading branch information
Llewellynvdm committed Oct 18, 2023
1 parent dc5b2b8 commit 8cac4ff
Show file tree
Hide file tree
Showing 50 changed files with 130 additions and 94 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ RUN set -eux; \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions 4.4.rc/php8.0/fpm/Dockerfile → 4.4/php8.0/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ RUN set -eux; \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions 5.0.rc/php8.1/fpm/Dockerfile → 4.4/php8.1/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ RUN set -eux; \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions 5.0.rc/php8.2/fpm/Dockerfile → 4.4/php8.2/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 5.0.0-rc1
ENV JOOMLA_SHA512 23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252
ENV JOOMLA_VERSION 4.4.0
ENV JOOMLA_SHA512 800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838

# Download package and extract to web volume
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 -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 8 additions & 6 deletions 4.4.rc/php8.1/apache/Dockerfile → 5.0/php8.1/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews
ghostscript \
# Needed for the zst joomla package
zstd \
; \
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -150,16 +152,16 @@ RUN set -eux; \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79

# Download package and extract to web volume
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; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
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.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
rm joomla.tar.bz2; \
tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla

# Copy init scripts
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN set -eux; \
ghostscript \
# Alpine package for "imagemagick" contains ~120 .so files
imagemagick \
# Needed for the zst joomla package
zstd \
;

# install the PHP extensions we need.
Expand Down Expand Up @@ -130,16 +132,16 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79

# Download package and extract to web volume
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; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
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.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
rm joomla.tar.bz2; \
tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla

# Copy init scripts
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 8 additions & 6 deletions 4.4.rc/php8.1/fpm/Dockerfile → 5.0/php8.1/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews
ghostscript \
# Needed for the zst joomla package
zstd \
; \
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -132,16 +134,16 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79

# Download package and extract to web volume
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; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
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.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
rm joomla.tar.bz2; \
tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla

# Copy init scripts
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 8 additions & 6 deletions 4.4.rc/php8.2/apache/Dockerfile → 5.0/php8.2/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews
ghostscript \
# Needed for the zst joomla package
zstd \
; \
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -150,16 +152,16 @@ RUN set -eux; \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79

# Download package and extract to web volume
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; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
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.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
rm joomla.tar.bz2; \
tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla

# Copy init scripts
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN set -eux; \
ghostscript \
# Alpine package for "imagemagick" contains ~120 .so files
imagemagick \
# Needed for the zst joomla package
zstd \
;

# install the PHP extensions we need.
Expand Down Expand Up @@ -130,16 +132,16 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79

# Download package and extract to web volume
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; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
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.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
rm joomla.tar.bz2; \
tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla

# Copy init scripts
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 8 additions & 6 deletions 4.4.rc/php8.2/fpm/Dockerfile → 5.0/php8.2/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN set -eux; \
apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews
ghostscript \
# Needed for the zst joomla package
zstd \
; \
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -132,16 +134,16 @@ RUN { \
VOLUME /var/www/html

# Define Joomla version and expected SHA512 signature
ENV JOOMLA_VERSION 4.4.0-rc1
ENV JOOMLA_SHA512 f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1
ENV JOOMLA_VERSION 5.0.0
ENV JOOMLA_SHA512 329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79

# Download package and extract to web volume
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; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
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.zst" | sha512sum -c -; \
mkdir /usr/src/joomla; \
tar -xf joomla.tar.bz2 -C /usr/src/joomla; \
rm joomla.tar.bz2; \
tar --zstd -xf joomla.tar.zst -C /usr/src/joomla; \
rm joomla.tar.zst; \
chown -R www-data:www-data /usr/src/joomla

# Copy init scripts
Expand Down
File renamed without changes.
File renamed without changes.
18 changes: 15 additions & 3 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,21 @@ RUN set -eux; \
ghostscript \
# Alpine package for "imagemagick" contains ~120 .so files
imagemagick \
{{ if env.joomlaPackageType == "tar.zst" then ( -}}
# Needed for the zst joomla package
zstd \
{{ ) else "" end -}}
;
{{ ) else ( -}}
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
# Ghostscript is required for rendering PDF previews
ghostscript \
{{ if env.joomlaPackageType == "tar.zst" then ( -}}
# Needed for the zst joomla package
zstd \
{{ ) else "" end -}}
; \
rm -rf /var/lib/apt/lists/*
{{ ) end -}}
Expand Down Expand Up @@ -236,11 +244,15 @@ ENV JOOMLA_SHA512 {{ env.joomlaSha512 }}

# Download package and extract to web volume
RUN set -ex; \
curl -o joomla.tar.bz2 -SL {{ env.joomlaPackage }}; \
echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \
curl -o joomla.{{ env.joomlaPackageType }} -SL {{ env.joomlaPackage }}; \
echo "$JOOMLA_SHA512 *joomla.{{ env.joomlaPackageType }}" | sha512sum -c -; \
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; \
rm joomla.tar.bz2; \
{{ ) end -}}
rm joomla.{{ env.joomlaPackageType }}; \
chown -R www-data:www-data /usr/src/joomla

# Copy init scripts
Expand Down
3 changes: 3 additions & 0 deletions apply-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ for version; do
# get this version Joomla Package URL
joomlaPackage="$(echo "${joomlaVersionDetails}" | jq -r '.package')"
export joomlaPackage
# get this version Joomla Package Type
joomlaPackageType="$(echo "${joomlaVersionDetails}" | jq -r '.packageType')"
export joomlaPackageType

for phpVersion in "${phpVersions[@]}"; do
export phpVersion
Expand Down
Loading

0 comments on commit 8cac4ff

Please sign in to comment.