Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 00d652f

Browse files
authored
Merge pull request #29 from topcoder-platform/fix/root-file-system
fix: root only file system
2 parents fce119d + bc311f0 commit 00d652f

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.circleci/config.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
version: 2
22
defaults: &defaults
3-
docker:
4-
- image: circleci/python:2.7-stretch-browsers
3+
docker:
4+
- image: cimg/python:3.11.0-browsers
55
install_dependency: &install_dependency
66
name: Installation of build and deployment dependencies.
77
command: |
8+
sudo apt update
89
sudo apt install jq
9-
sudo pip install awscli --upgrade
10-
sudo pip install docker-compose
10+
sudo apt install python3-pip
11+
sudo pip3 install awscli --upgrade
12+
sudo pip3 install docker-compose
1113
install_deploysuite: &install_deploysuite
1214
name: Installation of install_deploysuite.
1315
command: |
14-
git clone --branch v1.4 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
16+
git clone --branch v1.4.15 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
1517
cp ./../buildscript/master_deploy.sh .
1618
cp ./../buildscript/buildenv.sh .
1719
cp ./../buildscript/awsconfiguration.sh .

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ RUN mkdir /app
77
WORKDIR /home/informix
88

99
RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \
10-
echo "deb http://ftp.debian.org/debian/ stretch main non-free contrib" >/etc/apt/sources.list && \
11-
echo "deb http://security.debian.org/ stretch/updates main contrib non-free" >>/etc/apt/sources.list
10+
echo "deb http://archive.debian.org/debian/ stretch main non-free contrib" >/etc/apt/sources.list && \
11+
echo "deb http://archive.debian.org/debian-security stretch/updates main contrib non-free" >>/etc/apt/sources.list
1212

1313
RUN apt-get -qq update && \
1414
apt-get -qq install -y wget gcc-6 g++-6 make xz-utils python2.7 git curl
@@ -46,4 +46,4 @@ COPY . /app
4646
WORKDIR /app
4747
RUN rm -rf node_modules && npm install --unsafe-perm
4848

49-
ENTRYPOINT [ "npm", "start" ]
49+
ENTRYPOINT [ "npm", "start" ]

0 commit comments

Comments
 (0)