From 409f7a1318afa14257c815c793f1b27769fcef23 Mon Sep 17 00:00:00 2001 From: Omar Brikaa Date: Fri, 6 Sep 2024 19:13:02 +0300 Subject: [PATCH] Remove tmpfs --- builder/build.sh | 3 +-- docker-compose.yaml | 1 - readme.md | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/builder/build.sh b/builder/build.sh index ca4d40f8..8087e9fa 100755 --- a/builder/build.sh +++ b/builder/build.sh @@ -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 \ @@ -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" diff --git a/docker-compose.yaml b/docker-compose.yaml index 1d8e3071..ea62b06e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -11,5 +11,4 @@ services: volumes: - ./data/piston/packages:/piston/packages tmpfs: - - /piston/jobs:exec,uid=1000,gid=1000,mode=711 - /tmp:exec diff --git a/readme.md b/readme.md index 28e552d5..18e9e5a1 100644 --- a/readme.md +++ b/readme.md @@ -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 \