Cleanup Docker image scripts.
This commit is contained in:
parent
3d386e529e
commit
303a4a73ad
2
Makefile
2
Makefile
|
@ -34,7 +34,7 @@ update: # Update everything (i.e. after a branch update)
|
|||
docker-compose build
|
||||
$(MAKE) down
|
||||
docker-compose run --rm web gosu azuracast composer install
|
||||
docker-compose run --rm web azuracast_cli azuracast:setup:initialize
|
||||
docker-compose run --rm web azuracast_cli azuracast:setup --update
|
||||
$(MAKE) frontend-build
|
||||
$(MAKE) up
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ $(whoami) != 'azuracast' ]; then
|
||||
echo 'This script must be run as the "azuracast" user. Rerunning...'
|
||||
exec gosu azuracast azuracast_ci "$@"
|
||||
fi
|
||||
|
||||
azuracast_install || exit 1
|
||||
|
||||
cd /var/azuracast/www
|
||||
composer codeception-no-coverage
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
mv ${1}/* /var/azuracast/stations/
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
exec gosu azuracast "$@" >/proc/1/fd/1 2>/proc/1/fd/2
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
PREFIX=$1
|
||||
FILE=$2
|
||||
|
||||
exec tail -q -n +0 --retry -F "$FILE" | awk -v prefix="[$PREFIX]" '{print prefix,$0}'
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Touch cron files to fix 'NUMBER OF HARD LINKS > 1' issue. See https://github.com/phusion/baseimage-docker/issues/198
|
||||
touch -c /var/spool/cron/crontabs/*
|
||||
touch -c /etc/crontab
|
||||
touch -c /etc/cron.*/*
|
Loading…
Reference in New Issue