kasm / Dockerfile
saikub's picture
Update Dockerfile
e96c223
raw
history blame
809 Bytes
FROM nvidia/cuda:11.3.1-base-ubuntu20.04
ENV DEBIAN_FRONTEND=noninteractive \
TZ=Europe/Paris
# Install some basic utilities
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 the install script
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/*
# Create a working directory
#WORKDIR /app
# Expose the port that kasm listens on
EXPOSE 8080
# Run kasm when the container starts
CMD ["kasm"]