Update 'test/setup.sh'
This commit is contained in:
parent
f53edce8ed
commit
88b1fb96f3
@ -49,22 +49,6 @@ EOF
|
||||
# Install Docker
|
||||
sh <(curl -sSL https://get.docker.com) &>/dev/null
|
||||
|
||||
# Configuring docker-compose
|
||||
LINUXSERVER_DOCKERCOMPOSE='https://raw.githubusercontent.com/linuxserver/docker-docker-compose/master/run.sh'
|
||||
DOCKERCOMPOSE_LOCATION='/usr/local/bin/docker-compose'
|
||||
curl -L --fail $LINUXSERVER_DOCKERCOMPOSE -o $DOCKERCOMPOSE_LOCATION &>/dev/null
|
||||
chmod +x $DOCKERCOMPOSE_LOCATION
|
||||
|
||||
# Installing Portainer,VSCode,Watchtower docker-compose
|
||||
FOLDER_PORTAINER='/docker/portainer'
|
||||
FOLDER_VSCODE='/docker/vscode'
|
||||
STACK_OLD='/docker-compose.yml'
|
||||
STACK_NEW='/docker/docker-compose.yml'
|
||||
mkdir -p $(dirname $FOLDER_PORTAINER)
|
||||
mkdir -p $(dirname $FOLDER_VSCODE)
|
||||
mv $STACK_OLD $STACK_NEW
|
||||
cd /docker;docker-compose up -d
|
||||
|
||||
# Customize container
|
||||
rm /etc/motd # Remove message of the day after login
|
||||
rm /etc/update-motd.d/10-uname # Remove kernel information after login
|
||||
|
Loading…
x
Reference in New Issue
Block a user