Skip to content

Instantly share code, notes, and snippets.

@munshkr
Created June 9, 2018 12:45
Show Gist options
  • Save munshkr/b893f80bb2f9e1f41a48f0d92dfd5be1 to your computer and use it in GitHub Desktop.
Save munshkr/b893f80bb2f9e1f41a48f0d92dfd5be1 to your computer and use it in GitHub Desktop.
Dockerfile to reproduce Poetry bug with python3-venv
FROM debian
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
python3-pip \
python3-setuptools
RUN pip3 install -U poetry
RUN poetry new /app
WORKDIR /app
ENTRYPOINT ["/bin/bash"]
@munshkr
Copy link
Author

munshkr commented Jun 9, 2018

To build image:

docker build -t poetry_bug_test .

To reproduce bug:

docker run -ti poetry_bug_test -c 'poetry install; apt-get -qq install -y python3-venv && poetry install -v'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment