Last active
April 12, 2021 15:01
-
-
Save a-recknagel/dddfce44ffa8e6eacd5c06f64cfe0bb0 to your computer and use it in GitHub Desktop.
ubuntu 18.04 with poetry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
RUN apt-get update | |
RUN apt-get install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget curl | |
RUN wget https://www.python.org/ftp/python/3.9.4/Python-3.9.4.tgz | |
RUN tar -xf Python-3.9.4.tgz | |
RUN cd Python-3.9.4 && ./configure && make install | |
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - | |
ENV PATH "$PATH:/root/.poetry/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker build -t poet .
docker run -it poet
poetry new test && cd test && poetry lock && poetry show