Spaces:
Runtime error
Runtime error
Explicitly adding support for python3 and pip.
Browse files- Dockerfile +12 -0
Dockerfile
CHANGED
@@ -12,11 +12,23 @@ ARG TARGETPLATFORM
|
|
12 |
RUN useradd -m -u 1000 user
|
13 |
WORKDIR /app
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
16 |
build-essential \
|
17 |
ca-certificates \
|
18 |
ccache \
|
19 |
curl \
|
|
|
|
|
20 |
git && \
|
21 |
rm -rf /var/lib/apt/lists/*
|
22 |
|
|
|
12 |
RUN useradd -m -u 1000 user
|
13 |
WORKDIR /app
|
14 |
|
15 |
+
|
16 |
+
#RUN apt-get -y update \
|
17 |
+
# && apt-get install -y software-properties-common \
|
18 |
+
# && apt-get -y update \
|
19 |
+
# && add-apt-repository universe
|
20 |
+
#RUN apt-get -y update
|
21 |
+
#RUN apt-get -y install python3
|
22 |
+
#RUN apt-get -y install python3-pip
|
23 |
+
|
24 |
+
|
25 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
26 |
build-essential \
|
27 |
ca-certificates \
|
28 |
ccache \
|
29 |
curl \
|
30 |
+
python3 \
|
31 |
+
python3-pip \
|
32 |
git && \
|
33 |
rm -rf /var/lib/apt/lists/*
|
34 |
|