Skip to content
Snippets Groups Projects
Commit f2ce96fd authored by jurgenhaas's avatar jurgenhaas
Browse files

Ensure .composer/auth.json and .gitconfig more explicitly

parent 99b1c981
No related branches found
No related tags found
No related merge requests found
......@@ -22,11 +22,12 @@ case "${L3DHOSTOS}" in
SCRIPTPATH="$(dirname "$(readlink -f "$0")")"
esac
mkdir -p ${HOME}/.composer
touch ${HOME}/.composer/auth.json
touch ${HOME}/.gitconfig
ID=$(docker container ls --all -q -f name=^l3drun$)
if [[ ! -n ${ID} ]]; then
mkdir -p ${HOME}/.composer
touch ${HOME}/.composer/auth.json
touch ${HOME}/.gitconfig
docker run --name=l3drun -dt --rm \
--env SCRIPTPATH=${SCRIPTPATH} \
--volume /var/run/docker.sock:/var/run/docker.sock \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment