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
|
include \$(DOCKER_HOME)/build/Makefile
|
||||||
NAME = $1
|
NAME = $1
|
||||||
VERSION = latest
|
VERSION = latest
|
||||||
build: $1
|
build: prepare $1
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
make -f $FILE $2
|
make -f $FILE build
|
||||||
|
CODE=$?
|
||||||
if [ ! -z ${DELETE+x} ]; then
|
if [ ! -z ${DELETE+x} ]; then
|
||||||
rm $FILE
|
rm $FILE
|
||||||
fi
|
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 .
|
docker cp $ID:/opt/id_rsa .
|
||||||
fi
|
fi
|
||||||
chmod 0600 id_rsa
|
chmod 0600 id_rsa
|
||||||
eval "$COMMAND \"$ARGS\""
|
eval "$COMMAND $ARGS"
|
||||||
else
|
else
|
||||||
echo "Container is not running."
|
echo "Container is not running."
|
||||||
fi
|
fi
|
||||||
0
bin/stopall
Executable file → Normal file
0
bin/stopall
Executable file → Normal file
Reference in New Issue
Block a user