diff --git a/images/fullpage/Dockerfile b/images/fullpage/Dockerfile new file mode 100644 index 0000000..f098824 --- /dev/null +++ b/images/fullpage/Dockerfile @@ -0,0 +1,6 @@ +FROM friendsofredaxo/redaxo:5 + +# copy custom setup script +# will be executed within the REDAXO container once the REDAXO setup was finished +COPY custom-setup.sh /usr/local/bin/ +RUN chmod +x /usr/local/bin/custom-setup.sh diff --git a/images/fullpage/custom-setup.sh b/images/fullpage/custom-setup.sh new file mode 100644 index 0000000..00c76a4 --- /dev/null +++ b/images/fullpage/custom-setup.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -euo pipefail + +cd /var/www/html + +php redaxo/bin/console install:download -q demo_fullpage 2.0.10 +php redaxo/bin/console package:install -q demo_fullpage +php redaxo/bin/console cache:clear -q +php redaxo/bin/console demo_fullpage:install -q -y + +chown -R www-data:www-data ./ diff --git a/images/fullpage/tags.yml b/images/fullpage/tags.yml new file mode 100644 index 0000000..f6436e6 --- /dev/null +++ b/images/fullpage/tags.yml @@ -0,0 +1,2 @@ +tags: + - fullpage