From 80879fe73d0f5a903d0a8f20eb445e79c431e8f0 Mon Sep 17 00:00:00 2001 From: eisbilir Date: Thu, 4 May 2023 13:39:10 +0300 Subject: [PATCH 1/4] Revert "Yarn cache issue due to root file system security" This reverts commit 5dfc970107334edb7842f157b8701ec7803f26b1. --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 35566b0b..89879a2c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,6 +8,6 @@ COPY . /challenge-api WORKDIR /challenge-api # Install the dependencies from package.json -RUN HOME=$(pwd) yarn install +RUN yarn install -CMD yarn start +CMD yarn start \ No newline at end of file From 9960278cdbe7a730cc13fb4b72f29c5fa95df656 Mon Sep 17 00:00:00 2001 From: eisbilir Date: Thu, 4 May 2023 13:39:17 +0300 Subject: [PATCH 2/4] Revert "Security fix for root file system access" This reverts commit bf5849add1d09333f8fd1c2223f83b4ec6adbab1. --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 509981e7..5e41ee80 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ install_dependency: &install_dependency install_deploysuite: &install_deploysuite name: Installation of install_deploysuite. command: | - git clone --branch dev https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript + git clone --branch v1.4.14 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript cp ./../buildscript/master_deploy.sh . cp ./../buildscript/buildenv.sh . cp ./../buildscript/awsconfiguration.sh . From 23ab1139eaecdd1284b9ddfb46b9f3351a0ab9d4 Mon Sep 17 00:00:00 2001 From: Gunasekar-K Date: Thu, 4 May 2023 16:11:58 +0530 Subject: [PATCH 3/4] root file fix --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 89879a2c..698a2c71 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,6 +8,8 @@ COPY . /challenge-api WORKDIR /challenge-api # Install the dependencies from package.json +RUN mkdir -p /yarncache +ENV YARN_CACHE_FOLDER=/yarncache RUN yarn install -CMD yarn start \ No newline at end of file +CMD yarn start From 838f096105a53403b44ead4d6ab54b37ea012842 Mon Sep 17 00:00:00 2001 From: Gunasekar-K Date: Thu, 4 May 2023 16:12:24 +0530 Subject: [PATCH 4/4] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5e41ee80..509981e7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ install_dependency: &install_dependency install_deploysuite: &install_deploysuite name: Installation of install_deploysuite. command: | - git clone --branch v1.4.14 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript + git clone --branch dev https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript cp ./../buildscript/master_deploy.sh . cp ./../buildscript/buildenv.sh . cp ./../buildscript/awsconfiguration.sh .