projet-long/.devcontainer/Dockerfile
Laurent Fainsin fe75873865 feat(WIP): devcontainers
Former-commit-id: fc1c5be8b911b5e454f83f63fe09ac533615da45 [formerly 14c2d66a4c67fff40006b18807b61f4f8297f7ee]
Former-commit-id: 8b2b76c1309f63670f6a717a5e13c8c663ceb8e5
2022-09-13 09:43:03 +02:00

12 lines
544 B
Docker

FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04
WORKDIR /workspace
COPY library-scripts/*.sh library-scripts/*.env /tmp/library-scripts/
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive UID=1000 GID=1000 \
&& /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 -"