Skip to content

Commit b2a18d7

Browse files
build: disable pip cache in Dockerfile (#2828)
Signed-off-by: Peter Dave Hello <[email protected]>
1 parent d69de54 commit b2a18d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ RUN mkdir /src
66
WORKDIR /src
77

88
COPY requirements.txt /src/requirements.txt
9-
RUN pip install -r requirements.txt
9+
RUN pip install --no-cache-dir -r requirements.txt
1010

1111
COPY test-requirements.txt /src/test-requirements.txt
12-
RUN pip install -r test-requirements.txt
12+
RUN pip install --no-cache-dir -r test-requirements.txt
1313

1414
COPY . /src
15-
RUN pip install .
15+
RUN pip install --no-cache-dir .

Dockerfile-docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ RUN addgroup --gid $gid sphinx \
1010

1111
WORKDIR /src
1212
COPY requirements.txt docs-requirements.txt ./
13-
RUN pip install -r requirements.txt -r docs-requirements.txt
13+
RUN pip install --no-cache-dir -r requirements.txt -r docs-requirements.txt
1414

1515
USER sphinx

0 commit comments

Comments
 (0)