mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2024-11-17 10:35:10 +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:
parent
dc5b2b8442
commit
8cac4ff7ae
@ -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; \
|
@ -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; \
|
@ -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; \
|
@ -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; \
|
@ -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; \
|
@ -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; \
|
@ -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; \
|
@ -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; \
|
@ -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; \
|
@ -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/*
|
||||
|
||||
@ -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
|
@ -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.
|
||||
@ -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
|
@ -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/*
|
||||
|
||||
@ -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
|
@ -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/*
|
||||
|
||||
@ -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
|
@ -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.
|
||||
@ -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
|
@ -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/*
|
||||
|
||||
@ -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
|
@ -17,6 +17,10 @@ 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; \
|
||||
@ -24,6 +28,10 @@ RUN set -eux; \
|
||||
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 -}}
|
||||
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"5.0.rc": {
|
||||
"version": "5.0.0-rc1",
|
||||
"package": "https://github.com/joomla/joomla-cms/releases/download/5.0.0-rc/Joomla_5.0.0-rc-Release_Candidate-Full_Package.tar.bz2",
|
||||
"5.0": {
|
||||
"version": "5.0.0",
|
||||
"packageType": "tar.zst",
|
||||
"php": "8.2",
|
||||
"aliases": ["5.0.0-rc"],
|
||||
"aliases": ["5.0.0"],
|
||||
"phpVersions": {
|
||||
"8.2": {
|
||||
"pecl": {
|
||||
@ -27,11 +27,10 @@
|
||||
"fpm"
|
||||
]
|
||||
},
|
||||
"4.4.rc": {
|
||||
"version": "4.4.0-rc1",
|
||||
"package": "https://github.com/joomla/joomla-cms/releases/download/4.4.0-rc1/Joomla_4.4.0-rc1-Release_Candidate-Full_Package.tar.bz2",
|
||||
"4.4": {
|
||||
"version": "4.4.0",
|
||||
"php": "8.1",
|
||||
"aliases": ["4.4.0-rc"],
|
||||
"aliases": ["4.4.0"],
|
||||
"phpVersions": {
|
||||
"8.2": {
|
||||
"pecl": {
|
||||
@ -64,7 +63,7 @@
|
||||
},
|
||||
"4.3": {
|
||||
"version": "4.3.4",
|
||||
"php": "8.0",
|
||||
"php": "8.1",
|
||||
"aliases": [4, "latest"],
|
||||
"phpVersions": {
|
||||
"8.2": {
|
||||
|
@ -4,6 +4,7 @@
|
||||
3
|
||||
],
|
||||
"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",
|
||||
"phpVersions": [
|
||||
"8.0"
|
||||
@ -23,7 +24,8 @@
|
||||
"latest"
|
||||
],
|
||||
"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": [
|
||||
"8.0",
|
||||
"8.1",
|
||||
@ -38,43 +40,45 @@
|
||||
],
|
||||
"version": "4.3.4"
|
||||
},
|
||||
"4.4.rc": {
|
||||
"4.4": {
|
||||
"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",
|
||||
"phpVersions": [
|
||||
"8.0",
|
||||
"8.1",
|
||||
"8.2"
|
||||
],
|
||||
"sha512": "f71fd1fd1ba32630b6fb26854b7bb7bc09a9985407cd6138d57e0f7c91afb6f92c3ac3169f13323f144ebe89e7eb1d85b1ad0aa950812f23347224fe2037bca1",
|
||||
"sha512": "800e985b1aa99e0df329349779f3c0f2f29a5c4de5115a7804b118029cba6f8d726cbd09979e3ac5a13e6a518ff87f847e713be9fa38ee59b04a5e9102479838",
|
||||
"variant": "apache",
|
||||
"variants": [
|
||||
"apache",
|
||||
"fpm-alpine",
|
||||
"fpm"
|
||||
],
|
||||
"version": "4.4.0-rc1"
|
||||
"version": "4.4.0"
|
||||
},
|
||||
"5.0.rc": {
|
||||
"5.0": {
|
||||
"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",
|
||||
"phpVersions": [
|
||||
"8.1",
|
||||
"8.2"
|
||||
],
|
||||
"sha512": "23dd5e229c36d6e2f94582e515f7c6283e060eeb2ad3781055a409cc5891a2ea386d6a0980954710e6fc841dccfd87b01b75836e907a5b3164cc8daf78e8a252",
|
||||
"sha512": "329686ee26a650d504541e605463fa98af8f1403e5ba79c29e1091559ee9faff4194a2b346a300ddd990a3ac307bf12851f65de5c63f5785e8c01e737e0c7f79",
|
||||
"variant": "apache",
|
||||
"variants": [
|
||||
"apache",
|
||||
"fpm-alpine",
|
||||
"fpm"
|
||||
],
|
||||
"version": "5.0.0-rc1"
|
||||
"version": "5.0.0"
|
||||
}
|
||||
}
|
||||
|
22
versions.sh
22
versions.sh
@ -40,32 +40,38 @@ for version in "${versions[@]}"; do
|
||||
fullVersion=$(echo $versionsHelper | jq -r '.[env.version].version')
|
||||
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')
|
||||
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
|
||||
if [ "${package}" = 'null' ]; then
|
||||
if [ -z "${package}" ] || [ "${package}" = 'null' ]; then
|
||||
# get the url version
|
||||
urlVersion=$(echo $fullVersion | sed -e 's/\./-/g')
|
||||
# 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
|
||||
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
|
||||
# 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
|
||||
sha512=$(sha512sum joomla.tar.bz2 | cut -d " " -f 1)
|
||||
sha512=$(sha512sum "joomla.${packageType}" | cut -d " " -f 1)
|
||||
# remove the file
|
||||
rm joomla.tar.bz2
|
||||
rm "joomla.${packageType}"
|
||||
fi
|
||||
|
||||
# set the hash to the JSON
|
||||
if [ -n "$sha512" ] && [ -n "$package" ]; then
|
||||
if [ -n "$sha512" ] && [ -n "$package" ] && [ -n "$packageType" ]; then
|
||||
export sha512
|
||||
export package
|
||||
export packageType
|
||||
doc="$(jq <<<"$doc" -c '.sha512 = env.sha512')"
|
||||
doc="$(jq <<<"$doc" -c '.package = env.package')"
|
||||
doc="$(jq <<<"$doc" -c '.packageType = env.packageType')"
|
||||
fi
|
||||
|
||||
# get the default php version
|
||||
|
Loading…
Reference in New Issue
Block a user