|
FROM nvidia/cuda:11.3.1-base-ubuntu20.04 |
|
|
|
ENV DEBIAN_FRONTEND=noninteractive \ |
|
TZ=Europe/Paris |
|
|
|
|
|
|
|
RUN rm -f /etc/apt/sources.list.d/*.list && \ |
|
apt-get update && apt-get install -y \ |
|
curl \ |
|
sudo \ |
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
RUN \ |
|
cd /tmp \ |
|
curl -O \ |
|
https://kasm-static-content.s3.amazonaws.com/kasm_release_1.14.0.3a7abb.tar.gz \ |
|
tar -xf kasm_release_1.14.0.3a7abb.tar.gz \ |
|
|
|
|
|
RUN \ |
|
sudo bash kasm_release/install.sh --accept-eula --swap-size 8192 |
|
echo "**** clean up ****" && \ |
|
apt-get clean && \ |
|
rm -rf \ |
|
/tmp/* \ |
|
/var/lib/apt/lists/* \ |
|
/var/tmp/* |
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 8080 |
|
|
|
|
|
CMD ["kasm"] |