We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fda8644 commit e9004e9Copy full SHA for e9004e9
Dockerfile
@@ -1,16 +1,16 @@
1
ARG PYTHON
2
-FROM python:${PYTHON}-slim-stretch
+FROM python:${PYTHON}-slim-buster
3
4
WORKDIR /nornir
5
-ENV PATH="/root/.poetry/bin:$PATH" \
+ENV PATH="/nornir/.venv/bin:/root/.poetry/bin:$PATH" \
6
PYTHONDONTWRITEBYTECODE=1 \
7
PYTHONUNBUFFERED=1 \
8
NORNIR_TESTS=1
9
10
RUN apt-get update \
11
&& apt-get install -yq curl git pandoc \
12
- && curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python \
13
- && poetry config virtualenvs.create false
+ && curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python \
+ && poetry config virtualenvs.in-project true
14
15
COPY pyproject.toml .
16
COPY poetry.lock .
0 commit comments