Remove tmpfs

This commit is contained in:
Omar Brikaa 2024-09-06 19:13:02 +03:00
parent c292e36a38
commit 409f7a1318
3 changed files with 1 additions and 4 deletions

View File

@ -25,7 +25,6 @@ fetch_packages(){
docker run \ docker run \
--privileged \ --privileged \
-v "$PWD/build":'/piston/packages' \ -v "$PWD/build":'/piston/packages' \
--tmpfs /piston/jobs \
-dit \ -dit \
-p $port:2000 \ -p $port:2000 \
--name builder_piston_instance \ --name builder_piston_instance \
@ -62,4 +61,4 @@ fetch_packages $SPEC_FILE
build_container $TAG build_container $TAG
echo "Start your custom piston container with" 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"

View File

@ -11,5 +11,4 @@ services:
volumes: volumes:
- ./data/piston/packages:/piston/packages - ./data/piston/packages:/piston/packages
tmpfs: tmpfs:
- /piston/jobs:exec,uid=1000,gid=1000,mode=711
- /tmp:exec - /tmp:exec

View File

@ -138,7 +138,6 @@ The API will now be online with no language runtimes installed. To install runti
docker run \ docker run \
--privileged \ --privileged \
-v $PWD:'/piston' \ -v $PWD:'/piston' \
--tmpfs /piston/jobs \
-dit \ -dit \
-p 2000:2000 \ -p 2000:2000 \
--name piston_api \ --name piston_api \