Skip to content

Commit

Permalink
Revert as our Docker version on Bamboo is outdated
Browse files Browse the repository at this point in the history
This reverts commit 157c165.
  • Loading branch information
pierres committed May 28, 2021
1 parent 157c165 commit d79f076
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions run
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ done

CACHE_CONTAINER=cache-container-$(pwd | (shasum || sha1sum) | awk '{print $1}')
if ! docker ps -a --no-trunc | grep -q "${CACHE_CONTAINER}"; then
docker run -v "${HOME}" -v /root --name="${CACHE_CONTAINER}" busybox install -d -o $(id -u) -g $(id -g) --userns host "${HOME}"
docker run -v "${HOME}" -v /root --name="${CACHE_CONTAINER}" busybox install -d -o $(id -u) -g $(id -g) "${HOME}"
fi

if [ -f ${APP_DIR}/.env ]; then
Expand All @@ -39,6 +39,5 @@ docker run --rm \
-v /run/docker.sock:/run/docker.sock \
-e DOCKER_HOST=unix:///run/docker.sock \
-u $(id -u):$(id -g) \
--userns host \
${options} \
"$@"

0 comments on commit d79f076

Please sign in to comment.