Spaces:
Running
Running
abdullahmubeen10
commited on
Update Dockerfile
Browse files- Dockerfile +2 -6
Dockerfile
CHANGED
@@ -6,10 +6,11 @@ ENV NB_USER jovyan
|
|
6 |
ENV NB_UID 1000
|
7 |
ENV HOME /home/${NB_USER}
|
8 |
ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64/
|
9 |
-
ENV DEBIAN_FRONTEND=noninteractive
|
10 |
|
11 |
# Install required packages
|
12 |
RUN apt-get update && apt-get install -y \
|
|
|
13 |
tar \
|
14 |
wget \
|
15 |
bash \
|
@@ -33,11 +34,6 @@ RUN apt-get update && apt-get install -y \
|
|
33 |
&& apt-get clean \
|
34 |
&& update-ca-certificates -f
|
35 |
|
36 |
-
# Add the deadsnakes PPA and import GPG key manually
|
37 |
-
RUN wget -qO - https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xBA6932366A755776 | gpg --dearmor -o /usr/share/keyrings/deadsnakes.gpg \
|
38 |
-
&& echo "deb [signed-by=/usr/share/keyrings/deadsnakes.gpg] http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy main" > /etc/apt/sources.list.d/deadsnakes.list \
|
39 |
-
&& apt-get update
|
40 |
-
|
41 |
# Install Python 3.11 (latest stable version)
|
42 |
RUN apt-get install -y python3.11 python3.11-venv python3.11-dev python3-pip \
|
43 |
&& apt-get clean
|
|
|
6 |
ENV NB_UID 1000
|
7 |
ENV HOME /home/${NB_USER}
|
8 |
ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64/
|
9 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
10 |
|
11 |
# Install required packages
|
12 |
RUN apt-get update && apt-get install -y \
|
13 |
+
tzdata \
|
14 |
tar \
|
15 |
wget \
|
16 |
bash \
|
|
|
34 |
&& apt-get clean \
|
35 |
&& update-ca-certificates -f
|
36 |
|
|
|
|
|
|
|
|
|
|
|
37 |
# Install Python 3.11 (latest stable version)
|
38 |
RUN apt-get install -y python3.11 python3.11-venv python3.11-dev python3-pip \
|
39 |
&& apt-get clean
|