Skip to content

Commit

Permalink
GenerRRRRR-ate image files from source!
Browse files Browse the repository at this point in the history
  • Loading branch information
FriendsOfREDAXO-T committed Dec 28, 2023
1 parent 7ef19f6 commit d7e4399
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions images/fullpage/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions images/fullpage/custom-setup.sh
Original file line number Diff line number Diff line change
@@ -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 ./
2 changes: 2 additions & 0 deletions images/fullpage/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tags:
- fullpage

0 comments on commit d7e4399

Please sign in to comment.