Skip to content

Commit 8e0ff71

Browse files
authored
ci: remove pip install from base docker image
1 parent 0eb9cb4 commit 8e0ff71

3 files changed

Lines changed: 1 addition & 126 deletions

File tree

dev/tests/Dockerfile

Lines changed: 0 additions & 120 deletions
This file was deleted.

dev/tests/prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ chmod -R 777 ./
77
echo "Copying config files..."
88
cp ./docker/configs/settings_local.py ./ietf/settings_local.py
99
echo "Ensure all requirements.txt packages are installed..."
10-
pip install -r requirements.txt
10+
pip --disable-pip-version-check --no-cache-dir install -r requirements.txt
1111
echo "Compiling native node packages..."
1212
yarn rebuild
1313
echo "Building static assets..."

docker/base.Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
118118
# Colorize the bash shell
119119
RUN sed -i 's/#force_color_prompt=/force_color_prompt=/' /root/.bashrc
120120

121-
# Install current datatracker python dependencies
122-
COPY requirements.txt /tmp/pip-tmp/
123-
RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
124-
&& rm -rf /tmp/pip-tmp
125-
126121
# Turn off rsyslog kernel logging (doesn't work in Docker)
127122
RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
128123

0 commit comments

Comments
 (0)