FROM nvidia/cuda:11.3.1-base-ubuntu20.04 ENV DEBIAN_FRONTEND=noninteractive \ TZ=America/New_York # Install some basic utilities RUN apt-get update && apt-get install -y curl tar sudo WORKDIR /tmp RUN curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_1.14.0.3a7abb.tar.gz RUN tar -xf kasm_release_1.14.0.3a7abb.tar.gz RUN ls ENV DEBIAN_FRONTEND=noninteractive ENV TZ=America/New_York RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # Run the Kasm installer RUN sudo bash kasm_release/install.sh -y --accept-eula --no-swap-check # 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"]