File size: 865 Bytes
26b7544
 
 
de04f8f
26b7544
 
 
19715a5
 
 
 
 
 
 
3811f70
f1fd3cc
de04f8f
 
 
f1fd3cc
07bf695
80ee475
8ef202d
 
 
 
 
 
192116b
e53b97f
1c4183a
e53b97f
9a36913
 
192116b
9a36913
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"]