Skip to content

Commit edc9dd9

Browse files
ben851Ben Larabie
and
Ben Larabie
authored
Fixing dockerfiles (#2516)
Co-authored-by: Ben Larabie <[email protected]>
1 parent 5d2edb7 commit edc9dd9

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ var/
2929
*.egg
3030
/cache
3131
newrelic-layer.zip
32-
smoketest.sh
33-
smoketest-prod.sh
32+
smoketest*.sh
3433

3534
# PyInstaller
3635
# Usually these files are written by a python script from a template

ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ WORKDIR /app
1414

1515
# Install poetry and isolate it in it's own venv
1616
RUN python -m venv ${POETRY_HOME} \
17-
&& ${POETRY_HOME}/bin/pip3 install poetry==${POETRY_VERSION}
17+
&& ${POETRY_HOME}/bin/pip3 install poetry==${POETRY_VERSION} virtualenv==20.30.0
1818

1919
COPY pyproject.toml poetry.lock /app/
2020

ci/Dockerfile.lambda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ WORKDIR ${TASK_ROOT}
1717

1818
# Install poetry and isolate it in it's own venv
1919
RUN python -m venv ${POETRY_HOME} \
20-
&& ${POETRY_HOME}/bin/pip3 install poetry==${POETRY_VERSION}
20+
&& ${POETRY_HOME}/bin/pip3 install poetry==${POETRY_VERSION} virtualenv==20.30.0
2121

2222
COPY pyproject.toml poetry.lock ${TASK_ROOT}/
2323

ci/Dockerfile.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ RUN apk add --no-cache bash build-base git gcc musl-dev postgresql-dev g++ make
1515
RUN set -ex && mkdir /app
1616
WORKDIR /app
1717

18-
# Install Poetry and isolate it from the project
18+
# Install poetry and isolate it in it's own venv
1919
RUN python -m venv ${POETRY_HOME} \
20-
&& ${POETRY_HOME}/bin/pip3 install poetry==${POETRY_VERSION}
20+
&& ${POETRY_HOME}/bin/pip3 install poetry==${POETRY_VERSION} virtualenv==20.30.0
2121

2222
COPY . /app/
2323

0 commit comments

Comments
 (0)