corrections to scripts
This commit is contained in:
2
bin/build
Executable file → Normal file
2
bin/build
Executable file → Normal file
@@ -1 +1 @@
|
||||
$DOCKER_HOME/bin/make $1 build
|
||||
$DOCKER_HOME/bin/make $1 build
|
||||
0
bin/enter-bash
Executable file → Normal file
0
bin/enter-bash
Executable file → Normal file
0
bin/killall
Executable file → Normal file
0
bin/killall
Executable file → Normal file
6
bin/make
Executable file → Normal file
6
bin/make
Executable file → Normal file
@@ -6,10 +6,12 @@ if [ ! -e $FILE ]; then
|
||||
include \$(DOCKER_HOME)/build/Makefile
|
||||
NAME = $1
|
||||
VERSION = latest
|
||||
build: $1
|
||||
build: prepare $1
|
||||
EOF
|
||||
fi
|
||||
make -f $FILE $2
|
||||
make -f $FILE build
|
||||
CODE=$?
|
||||
if [ ! -z ${DELETE+x} ]; then
|
||||
rm $FILE
|
||||
fi
|
||||
exit $CODE
|
||||
0
bin/pidenter
Executable file → Normal file
0
bin/pidenter
Executable file → Normal file
0
bin/run-bash
Executable file → Normal file
0
bin/run-bash
Executable file → Normal file
2
bin/ssh
Executable file → Normal file
2
bin/ssh
Executable file → Normal file
@@ -7,7 +7,7 @@ if [ -n "$ID" ]; then
|
||||
docker cp $ID:/opt/id_rsa .
|
||||
fi
|
||||
chmod 0600 id_rsa
|
||||
eval "$COMMAND \"$ARGS\""
|
||||
eval "$COMMAND $ARGS"
|
||||
else
|
||||
echo "Container is not running."
|
||||
fi
|
||||
0
bin/stopall
Executable file → Normal file
0
bin/stopall
Executable file → Normal file
Reference in New Issue
Block a user