projet-long/.devcontainer/Dockerfile
Laurent Fainsin 8959b99947 feat: YAY, working devcontainers
Former-commit-id: d8d73b022405033c85e4c70645f1e73a388ded9d [formerly 644d6ccb89271e4ae024ddf2151e6ce3df7fdba6]
Former-commit-id: e1097534f05dddef9e6473112ff558c5df2a8001
2022-09-13 11:06:06 +02:00

17 lines
581 B
Docker

FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04
WORKDIR /workspace
ARG USERNAME=vscode
ARG UID=1000
ARG GID=${UID}
COPY library-scripts/*.sh library-scripts/*.env /tmp/library-scripts/
RUN apt-get update \
&& export DEBIAN_FRONTEND=noninteractive \
&& /bin/bash /tmp/library-scripts/common-debian.sh \
&& apt-get install -y python3 python3-pip && pip install --upgrade pip --no-input \
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
RUN su - vscode -c "curl -sSL https://install.python-poetry.org | python3 -"