Spaces:
Sleeping
Sleeping
abdullahmubeen10
commited on
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -6,9 +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 |
|
10 |
# Install required packages
|
11 |
-
RUN
|
12 |
tar \
|
13 |
wget \
|
14 |
bash \
|
@@ -33,8 +35,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
|
|
33 |
|
34 |
# Install Python 3.11 (latest stable version)
|
35 |
RUN add-apt-repository ppa:deadsnakes/ppa \
|
36 |
-
&&
|
37 |
-
&& apt-get install -y python3.11 python3.11-venv python3.11-dev python3-pip \
|
38 |
&& apt-get clean
|
39 |
|
40 |
# Set up JAVA_HOME
|
|
|
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 |
+
ENV TZ=Etc/UTC
|
11 |
|
12 |
# Install required packages
|
13 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
14 |
tar \
|
15 |
wget \
|
16 |
bash \
|
|
|
35 |
|
36 |
# Install Python 3.11 (latest stable version)
|
37 |
RUN add-apt-repository ppa:deadsnakes/ppa \
|
38 |
+
&& apt-get update \
|
39 |
+
&& apt-get install -y --no-install-recommends python3.11 python3.11-venv python3.11-dev python3-pip \
|
40 |
&& apt-get clean
|
41 |
|
42 |
# Set up JAVA_HOME
|