mirror of
https://github.com/chevereto/docker.git
synced 2026-05-07 05:06:56 +02:00
adds chevereto folder for dev+custom builds
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
bin/clean.sh
|
||||
chevereto/
|
||||
|
||||
11
chevereto.sh
11
chevereto.sh
@@ -6,9 +6,13 @@ cd /chevereto/download
|
||||
curl -S -o installer.tar.gz -L "https://github.com/chevereto/installer/archive/${CHEVERETO_INSTALLER_TAG}.tar.gz"
|
||||
tar -xvzf installer.tar.gz
|
||||
mv -v installer-"${CHEVERETO_INSTALLER_TAG}"/* /chevereto/installer/
|
||||
cd /chevereto/installer
|
||||
php installer.php -a download -s $CHEVERETO_SOFTWARE -t=$CHEVERETO_TAG -l=$CHEVERETO_LICENSE
|
||||
php installer.php -a extract -s $CHEVERETO_SOFTWARE -f chevereto-pkg-*.zip -p $WORKING_DIR
|
||||
if [ -f "$WORKING_DIR/composer.js" ]; then
|
||||
echo "[SKIP] Installer provisioning"
|
||||
else
|
||||
cd /chevereto/installer
|
||||
php installer.php -a download -s $CHEVERETO_SOFTWARE -t=$CHEVERETO_TAG -l=$CHEVERETO_LICENSE
|
||||
php installer.php -a extract -s $CHEVERETO_SOFTWARE -f chevereto-pkg-*.zip -p $WORKING_DIR
|
||||
fi
|
||||
mkdir -p $WORKING_DIR/app
|
||||
set -eux
|
||||
{
|
||||
@@ -45,3 +49,4 @@ set -eux
|
||||
} >$WORKING_DIR/app/settings.php
|
||||
chown www-data: $WORKING_DIR -R
|
||||
cd $WORKING_DIR
|
||||
ls -la
|
||||
|
||||
@@ -84,5 +84,6 @@ VOLUME /var/www/html/importing/no-parse
|
||||
VOLUME /var/www/html/importing/parse-albums
|
||||
VOLUME /var/www/html/importing/parse-users
|
||||
|
||||
COPY --chown=www-data:www-data chevereto/ /var/www/html
|
||||
COPY chevereto.sh /chevereto.sh
|
||||
RUN chmod +x /chevereto.sh && /chevereto.sh
|
||||
Reference in New Issue
Block a user