proti0070 commited on
Commit
942907f
·
verified ·
1 Parent(s): b2a0e4a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +27 -4
Dockerfile CHANGED
@@ -10,18 +10,41 @@ RUN apt-get update && apt-get install -y \
10
  wget \
11
  git \
12
  sudo \
 
 
 
 
 
 
 
13
  unzip \
14
  zip \
15
  python3 \
16
  python3-pip \
17
- openjdk-17-jdk \
18
  libxtst6 \
19
  libxrender1 \
20
  libxi6 \
21
  libxext6 \
22
  libx11-6 \
 
 
 
 
 
 
 
 
 
23
  fonts-dejavu \
24
  fonts-liberation \
 
 
 
 
 
 
 
 
25
  && rm -rf /var/lib/apt/lists/*
26
 
27
  # ---- Android SDK ----
@@ -36,7 +59,7 @@ ENV ANDROID_HOME=/opt/android-sdk
36
  ENV ANDROID_SDK_ROOT=/opt/android-sdk
37
  ENV PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools
38
 
39
- # ---- Full SDK ----
40
  RUN yes | sdkmanager --licenses && \
41
  sdkmanager \
42
  "platform-tools" \
@@ -69,8 +92,8 @@ RUN wget -q https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2023.3.1.
69
 
70
  ENV PATH=$PATH:/opt/android-studio/bin
71
 
72
- # ---- JetBrains Projector ----
73
- RUN pip3 install projector-server
74
 
75
  WORKDIR /workspace
76
 
 
10
  wget \
11
  git \
12
  sudo \
13
+ htop \
14
+ btop \
15
+ neovim \
16
+ nano \
17
+ lsof \
18
+ tmux \
19
+ screen \
20
  unzip \
21
  zip \
22
  python3 \
23
  python3-pip \
 
24
  libxtst6 \
25
  libxrender1 \
26
  libxi6 \
27
  libxext6 \
28
  libx11-6 \
29
+ libxrandr2 \
30
+ libxfixes3 \
31
+ libxcursor1 \
32
+ libxcomposite1 \
33
+ libxdamage1 \
34
+ libxss1 \
35
+ libglib2.0-0 \
36
+ libgtk-3-0 \
37
+ libatk1.0-0 \
38
  fonts-dejavu \
39
  fonts-liberation \
40
+ xvfb \
41
+ x11vnc \
42
+ novnc \
43
+ websockify \
44
+ openbox \
45
+ xterm \
46
+ openjdk-17-jdk \
47
+ gradle \
48
  && rm -rf /var/lib/apt/lists/*
49
 
50
  # ---- Android SDK ----
 
59
  ENV ANDROID_SDK_ROOT=/opt/android-sdk
60
  ENV PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools
61
 
62
+ # ---- Full SDK install ----
63
  RUN yes | sdkmanager --licenses && \
64
  sdkmanager \
65
  "platform-tools" \
 
92
 
93
  ENV PATH=$PATH:/opt/android-studio/bin
94
 
95
+ # ---- noVNC index fix ----
96
+ RUN ln -s /usr/share/novnc/vnc.html /usr/share/novnc/index.html 2>/dev/null || true
97
 
98
  WORKDIR /workspace
99