Skip to content

Commit

Permalink
Build under regular user again
Browse files Browse the repository at this point in the history
Previously this didn't work because Docker still creates missing target folders as root instead of as mapped user.

Manually creating the folder seems to fix that.
  • Loading branch information
RReverser committed Oct 17, 2023
1 parent 850fbae commit 223718d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ else
fi

docker build -t web-gphoto2 - <Dockerfile
mkdir -p deps/.emcache
docker run --rm $DOCKER_INTERACTIVE_OPTS \
-u $(id -u):$(id -g) \
-v $PWD:/src \
-v $PWD/deps/.emcache:/emsdk/upstream/emscripten/cache \
web-gphoto2 \
Expand Down

0 comments on commit 223718d

Please sign in to comment.