Skip to content

Instantly share code, notes, and snippets.

@CallumJHays
Created November 9, 2023 23:38
Show Gist options
  • Save CallumJHays/af8252187ea4f7ed783d35ef19229c72 to your computer and use it in GitHub Desktop.
Save CallumJHays/af8252187ea4f7ed783d35ef19229c72 to your computer and use it in GitHub Desktop.
Poetry 1.7 Bug Report
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
RUN apt update -y && \
# python3 is 3.10 in ubuntu 22.04
apt install -y python3 python3-pip curl && \
apt clean -y
ARG POETRY_VERSION
RUN curl -sSL https://install.python-poetry.org | python3 - --version ${POETRY_VERSION}
ENV PATH "/root/.local/bin:$PATH"
WORKDIR /app
RUN poetry config virtualenvs.create ${POETRY_VIRTUALENVS_CREATE}
COPY pyproject.toml .
RUN poetry add six -vvv
[tool.poetry]
name = "poetry1-7-bug-report"
version = "0.1.0"
description = ""
authors = ["CallumJHays <callumjhays@gmail.com>"]
readme = "README.md"
packages = []
[tool.poetry.dependencies]
python = "^3.10"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment