2022-09-13 07:43:03 +00:00
|
|
|
FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04
|
2022-09-07 08:45:01 +00:00
|
|
|
|
2022-09-13 07:43:03 +00:00
|
|
|
WORKDIR /workspace
|
2022-09-07 08:45:01 +00:00
|
|
|
|
2022-09-13 09:06:06 +00:00
|
|
|
ARG USERNAME=vscode
|
|
|
|
ARG UID=1000
|
|
|
|
ARG GID=${UID}
|
|
|
|
|
2022-09-13 07:43:03 +00:00
|
|
|
COPY library-scripts/*.sh library-scripts/*.env /tmp/library-scripts/
|
2022-09-13 09:06:06 +00:00
|
|
|
RUN apt-get update \
|
|
|
|
&& export DEBIAN_FRONTEND=noninteractive \
|
2022-09-13 07:43:03 +00:00
|
|
|
&& /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
|
2022-09-07 08:45:01 +00:00
|
|
|
|
2022-09-13 07:43:03 +00:00
|
|
|
RUN su - vscode -c "curl -sSL https://install.python-poetry.org | python3 -"
|