From a65ecf738613af4ad6ee562f06bf7d72241e7449 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sat, 13 Mar 2021 19:51:38 +1300 Subject: [PATCH] repo: mount files in build container differently --- docker-compose.yaml | 6 +++--- repo/entrypoint.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8b5f62f..3abd120 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,7 +15,7 @@ services: piston_fs_repo: #Temporary solution until CI works build: repo - command: ['deno-1.7.5'] # Only build deno + command: ['jelly-0.1.31'] # Only build jelly volumes: - - ./repo:/repo - - ./packages:/packages \ No newline at end of file + - ./repo:/piston/repo + - ./packages:/piston/packages \ No newline at end of file diff --git a/repo/entrypoint.sh b/repo/entrypoint.sh index 83e7c73..54261dc 100755 --- a/repo/entrypoint.sh +++ b/repo/entrypoint.sh @@ -1,11 +1,11 @@ -cd /packages +cd /piston/packages for pkg in "$@" do make -j16 $pkg.pkg.tar.gz done -cd /repo +cd /piston/repo ./mkindex.sh python3 -m http.server \ No newline at end of file