diff --git a/cli/tests/commands/job/utils/fixtures/expected/fnapi/Dockerfile b/cli/tests/commands/job/utils/fixtures/expected/fnapi/Dockerfile index 1d7aceae..a8de3dae 100644 --- a/cli/tests/commands/job/utils/fixtures/expected/fnapi/Dockerfile +++ b/cli/tests/commands/job/utils/fixtures/expected/fnapi/Dockerfile @@ -7,7 +7,7 @@ RUN mkdir -p /usr/src/config ENV GOOGLE_CLOUD_PROJECT=test-gcp-project \ PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools ############################################################### # DO NOT EDIT ABOVE THIS LINE. Or you may break klio. # @@ -25,7 +25,7 @@ RUN pip install --upgrade pip setuptools ############################################################### COPY job-requirements.txt job-requirements.txt -RUN pip install -r job-requirements.txt +RUN pip install --no-cache-dir -r job-requirements.txt COPY __init__.py \ run.py \ diff --git a/cli/tests/commands/job/utils/fixtures/expected/no_fnapi/Dockerfile b/cli/tests/commands/job/utils/fixtures/expected/no_fnapi/Dockerfile index 1ab20a44..b111418d 100644 --- a/cli/tests/commands/job/utils/fixtures/expected/no_fnapi/Dockerfile +++ b/cli/tests/commands/job/utils/fixtures/expected/no_fnapi/Dockerfile @@ -6,7 +6,7 @@ WORKDIR /usr/src/app ENV GOOGLE_CLOUD_PROJECT=test-gcp-project \ PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY __init__.py \ run.py \ @@ -21,4 +21,4 @@ COPY __init__.py \ ARG KLIO_CONFIG=klio-job.yaml COPY $KLIO_CONFIG klio-job-run-effective.yaml -RUN pip install . \ No newline at end of file +RUN pip install --no-cache-dir . \ No newline at end of file diff --git a/examples/audio_spectrograms/Dockerfile b/examples/audio_spectrograms/Dockerfile index 602e2f44..66bd45d2 100644 --- a/examples/audio_spectrograms/Dockerfile +++ b/examples/audio_spectrograms/Dockerfile @@ -5,7 +5,7 @@ RUN mkdir -p /usr/src/config ENV PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY __init__.py \ run.py \ @@ -17,4 +17,4 @@ COPY __init__.py \ job-requirements.txt \ /usr/src/app/ -RUN pip install . +RUN pip install --no-cache-dir . diff --git a/examples/catvdog/Dockerfile b/examples/catvdog/Dockerfile index afd4b24a..3b50cb75 100644 --- a/examples/catvdog/Dockerfile +++ b/examples/catvdog/Dockerfile @@ -4,10 +4,10 @@ WORKDIR /usr/src/app ENV PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY job-requirements.txt job-requirements.txt -RUN pip install -r job-requirements.txt +RUN pip install --no-cache-dir -r job-requirements.txt COPY __init__.py \ run.py \ diff --git a/integration/audio-spectrograms/Dockerfile b/integration/audio-spectrograms/Dockerfile index 2a34ffd6..74542783 100644 --- a/integration/audio-spectrograms/Dockerfile +++ b/integration/audio-spectrograms/Dockerfile @@ -7,19 +7,19 @@ ENV PYTHONPATH=/usr/src/app RUN apt-get update && apt-get install -y libsndfile1 -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY core core COPY lib lib COPY exec exec COPY audio audio -RUN pip install ./core -RUN pip install ./lib -RUN pip install ./exec -RUN pip install ./audio +RUN pip install --no-cache-dir ./core +RUN pip install --no-cache-dir ./lib +RUN pip install --no-cache-dir ./exec +RUN pip install --no-cache-dir ./audio COPY job-requirements.txt job-requirements.txt -RUN pip install -r job-requirements.txt +RUN pip install --no-cache-dir -r job-requirements.txt COPY __init__.py \ run.py \ @@ -31,4 +31,4 @@ COPY __init__.py \ ARG KLIO_CONFIG=klio-job.yaml COPY $KLIO_CONFIG klio-job-run-effective.yaml -RUN pip install . +RUN pip install --no-cache-dir . diff --git a/integration/batch-modular-default/Dockerfile b/integration/batch-modular-default/Dockerfile index 4d986168..dd547db3 100644 --- a/integration/batch-modular-default/Dockerfile +++ b/integration/batch-modular-default/Dockerfile @@ -5,17 +5,17 @@ RUN mkdir -p /usr/src/config ENV PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY core core COPY lib lib COPY exec exec -RUN pip install ./core -RUN pip install ./lib -RUN pip install ./exec +RUN pip install --no-cache-dir ./core +RUN pip install --no-cache-dir ./lib +RUN pip install --no-cache-dir ./exec COPY job-requirements.txt job-requirements.txt -RUN pip install -r job-requirements.txt +RUN pip install --no-cache-dir -r job-requirements.txt COPY __init__.py \ run.py \ @@ -27,4 +27,4 @@ COPY __init__.py \ ARG KLIO_CONFIG=klio-job.yaml COPY $KLIO_CONFIG klio-job-run-effective.yaml -RUN pip install . +RUN pip install --no-cache-dir . diff --git a/integration/multi-event-input-batch/Dockerfile b/integration/multi-event-input-batch/Dockerfile index 6710720e..ed3879e3 100644 --- a/integration/multi-event-input-batch/Dockerfile +++ b/integration/multi-event-input-batch/Dockerfile @@ -5,17 +5,17 @@ RUN mkdir -p /usr/src/config ENV PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY core core COPY lib lib COPY exec exec -RUN pip install ./core -RUN pip install ./lib -RUN pip install ./exec +RUN pip install --no-cache-dir ./core +RUN pip install --no-cache-dir ./lib +RUN pip install --no-cache-dir ./exec COPY job-requirements.txt job-requirements.txt -RUN pip install -r job-requirements.txt +RUN pip install --no-cache-dir -r job-requirements.txt COPY __init__.py \ run.py \ @@ -27,4 +27,4 @@ COPY __init__.py \ ARG KLIO_CONFIG=klio-job.yaml COPY $KLIO_CONFIG klio-job-run-effective.yaml -RUN pip install . +RUN pip install --no-cache-dir . diff --git a/integration/read-bq-write-bq/Dockerfile b/integration/read-bq-write-bq/Dockerfile index b7ed178c..842adf96 100644 --- a/integration/read-bq-write-bq/Dockerfile +++ b/integration/read-bq-write-bq/Dockerfile @@ -5,18 +5,18 @@ RUN mkdir -p /usr/src/config ENV PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY core core COPY lib lib COPY exec exec -RUN pip install ./core -RUN pip install ./lib -RUN pip install ./exec +RUN pip install --no-cache-dir ./core +RUN pip install --no-cache-dir ./lib +RUN pip install --no-cache-dir ./exec COPY job-requirements.txt job-requirements.txt -RUN pip install -r job-requirements.txt +RUN pip install --no-cache-dir -r job-requirements.txt COPY __init__.py \ run.py \ @@ -27,4 +27,4 @@ COPY __init__.py \ ARG KLIO_CONFIG=klio-job.yaml COPY $KLIO_CONFIG klio-job-run-effective.yaml -RUN pip install . +RUN pip install --no-cache-dir . diff --git a/integration/read-file-write-file/Dockerfile b/integration/read-file-write-file/Dockerfile index 4d986168..dd547db3 100644 --- a/integration/read-file-write-file/Dockerfile +++ b/integration/read-file-write-file/Dockerfile @@ -5,17 +5,17 @@ RUN mkdir -p /usr/src/config ENV PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY core core COPY lib lib COPY exec exec -RUN pip install ./core -RUN pip install ./lib -RUN pip install ./exec +RUN pip install --no-cache-dir ./core +RUN pip install --no-cache-dir ./lib +RUN pip install --no-cache-dir ./exec COPY job-requirements.txt job-requirements.txt -RUN pip install -r job-requirements.txt +RUN pip install --no-cache-dir -r job-requirements.txt COPY __init__.py \ run.py \ @@ -27,4 +27,4 @@ COPY __init__.py \ ARG KLIO_CONFIG=klio-job.yaml COPY $KLIO_CONFIG klio-job-run-effective.yaml -RUN pip install . +RUN pip install --no-cache-dir . diff --git a/integration/read-file/Dockerfile b/integration/read-file/Dockerfile index 4d986168..dd547db3 100644 --- a/integration/read-file/Dockerfile +++ b/integration/read-file/Dockerfile @@ -5,17 +5,17 @@ RUN mkdir -p /usr/src/config ENV PYTHONPATH=/usr/src/app -RUN pip install --upgrade pip setuptools +RUN pip install --no-cache-dir --upgrade pip setuptools COPY core core COPY lib lib COPY exec exec -RUN pip install ./core -RUN pip install ./lib -RUN pip install ./exec +RUN pip install --no-cache-dir ./core +RUN pip install --no-cache-dir ./lib +RUN pip install --no-cache-dir ./exec COPY job-requirements.txt job-requirements.txt -RUN pip install -r job-requirements.txt +RUN pip install --no-cache-dir -r job-requirements.txt COPY __init__.py \ run.py \ @@ -27,4 +27,4 @@ COPY __init__.py \ ARG KLIO_CONFIG=klio-job.yaml COPY $KLIO_CONFIG klio-job-run-effective.yaml -RUN pip install . +RUN pip install --no-cache-dir .