BG5 commited on
Commit
d063ffa
·
verified ·
1 Parent(s): 350f517

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -16,19 +16,22 @@
16
  # RUN chmod 777 .chroma
17
  # # Use the official Ubuntu image.
18
  # Use the official Ubuntu image.
 
19
  FROM ubuntu:20.04
20
 
21
  # Set the timezone
22
  ENV TZ=Etc/UTC
23
  RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
24
 
25
- # Install dependencies
26
- RUN apt-get update && apt-get install -y \
27
  xfce4 \
28
  xfce4-goodies \
29
  tightvncserver \
30
  net-tools \
31
  curl \
 
 
32
  && rm -rf /var/lib/apt/lists/*
33
 
34
  # Set up VNC
 
16
  # RUN chmod 777 .chroma
17
  # # Use the official Ubuntu image.
18
  # Use the official Ubuntu image.
19
+ # Use the official Ubuntu image.
20
  FROM ubuntu:20.04
21
 
22
  # Set the timezone
23
  ENV TZ=Etc/UTC
24
  RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
25
 
26
+ # Install dependencies in non-interactive mode
27
+ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
28
  xfce4 \
29
  xfce4-goodies \
30
  tightvncserver \
31
  net-tools \
32
  curl \
33
+ tzdata \
34
+ keyboard-configuration \
35
  && rm -rf /var/lib/apt/lists/*
36
 
37
  # Set up VNC