ar08 commited on
Commit
ce2b84d
·
verified ·
1 Parent(s): b53cf2b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -4
Dockerfile CHANGED
@@ -3,6 +3,11 @@ FROM ubuntu:latest
3
 
4
  # Set environment variables
5
  ENV DEBIAN_FRONTEND=noninteractive
 
 
 
 
 
6
 
7
  # Install necessary packages
8
  RUN apt-get update && \
@@ -14,12 +19,12 @@ RUN apt-get update && \
14
  default-jre \
15
  g++ \
16
  gcc \
17
- apt-get install software-properties-common -y \
18
- add-apt-repository ppa:deadsnakes/ppa \
19
- apt-get install -y python3.11
20
 
21
  # Install Python 3.11
22
-
23
 
24
  # Install code-server
25
  RUN curl -fsSL https://code-server.dev/install.sh | sh
 
3
 
4
  # Set environment variables
5
  ENV DEBIAN_FRONTEND=noninteractive
6
+ RUN apt-get update && \
7
+ apt-get install -y \
8
+ software-properties-common
9
+
10
+ RUN sudo add-apt-repository ppa:deadsnakes/ppa
11
 
12
  # Install necessary packages
13
  RUN apt-get update && \
 
19
  default-jre \
20
  g++ \
21
  gcc \
22
+ software-properties-common \
23
+ python3.11
24
+
25
 
26
  # Install Python 3.11
27
+
28
 
29
  # Install code-server
30
  RUN curl -fsSL https://code-server.dev/install.sh | sh