Skip to content

Commit f2b8a55

Browse files
committed
change docker base image to python slim
1 parent 528d99e commit f2b8a55

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/slo/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
FROM python:3.8
1+
FROM python:3.8-slim
22
COPY . /src
33
WORKDIR /src
4-
RUN python -m pip install --upgrade pip && python -m pip install -e . && python -m pip install -r tests/slo/requirements.txt
4+
RUN python -m pip install --no-cache-dir --upgrade pip && \
5+
python -m pip install --no-cache-dir -e . && \
6+
python -m pip install --no-cache-dir -r tests/slo/requirements.txt
57
WORKDIR tests/slo
68
ARG SDK_SERVICE
79
ENV SDK_SERVICE=$SDK_SERVICE

0 commit comments

Comments
 (0)