Skip to content

Commit

Permalink
Remove tmpfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Brikaa committed Sep 6, 2024
1 parent c292e36 commit 409f7a1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ fetch_packages(){
docker run \
--privileged \
-v "$PWD/build":'/piston/packages' \
--tmpfs /piston/jobs \
-dit \
-p $port:2000 \
--name builder_piston_instance \
Expand Down Expand Up @@ -62,4 +61,4 @@ fetch_packages $SPEC_FILE
build_container $TAG

echo "Start your custom piston container with"
echo "$ docker run --privileged --tmpfs /piston/jobs -dit -p 2000:2000 $TAG"
echo "$ docker run --privileged -dit -p 2000:2000 $TAG"
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ services:
volumes:
- ./data/piston/packages:/piston/packages
tmpfs:
- /piston/jobs:exec,uid=1000,gid=1000,mode=711
- /tmp:exec
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ The API will now be online with no language runtimes installed. To install runti
docker run \
--privileged \
-v $PWD:'/piston' \
--tmpfs /piston/jobs \
-dit \
-p 2000:2000 \
--name piston_api \
Expand Down

0 comments on commit 409f7a1

Please sign in to comment.