Update Dockerfile1
Browse files- Dockerfile1 +15 -0
Dockerfile1
CHANGED
@@ -14,10 +14,25 @@ RUN apt-get update && \
|
|
14 |
apt-get clean && \
|
15 |
rm -rf /var/lib/apt/lists/*
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
RUN useradd -m -u 1000 user
|
18 |
|
19 |
COPY --chown=user ./requirements.txt requirements.txt
|
20 |
COPY --chown=user ./requirements1.txt requirements1.txt
|
|
|
|
|
21 |
|
22 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
23 |
|
|
|
14 |
apt-get clean && \
|
15 |
rm -rf /var/lib/apt/lists/*
|
16 |
|
17 |
+
# Install necessary packages
|
18 |
+
RUN apt-get update && \
|
19 |
+
apt-get install -y \
|
20 |
+
software-properties-common \
|
21 |
+
&& add-apt-repository -y ppa:projectatomic/ppa \
|
22 |
+
&& apt-get update && \
|
23 |
+
apt-get install -y \
|
24 |
+
skopeo \
|
25 |
+
python3 \
|
26 |
+
python3-pip \
|
27 |
+
&& apt-get clean \
|
28 |
+
&& rm -rf /var/lib/apt/lists/*
|
29 |
+
|
30 |
RUN useradd -m -u 1000 user
|
31 |
|
32 |
COPY --chown=user ./requirements.txt requirements.txt
|
33 |
COPY --chown=user ./requirements1.txt requirements1.txt
|
34 |
+
COPY --chown=user ./download_image.py download_image.py
|
35 |
+
|
36 |
|
37 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
38 |
|