Update before installing vim in start-dev-env

pull/1156/head
Piero Toffanin 2020-09-14 14:04:26 +00:00
rodzic 4c7108e7a6
commit 2291c42895
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ if [ "$1" = "--setup" ]; then
#bash configure.sh reinstall
touch .setupdevenv
apt install -y vim
apt update && apt install -y vim
chown -R $3:$4 /code
chown -R $3:$4 /var/www
fi
@ -108,4 +108,4 @@ GROUP_ID=$(id -g)
USER=$(id -un)
xhost +
docker run -ti --entrypoint bash --name odmdev -v $(pwd):/code -v "$DATA":/datasets -p $PORT:3000 --privileged -e DISPLAY -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 -v="/tmp/.X11-unix:/tmp/.X11-unix:rw" -v="$HOME/.odm-dev-home:/home/$USER" $IMAGE -c "/code/start-dev-env.sh --setup $USER $USER_ID $GROUP_ID $QTC"
exit 0
exit 0