Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
# Update the package sources and install required packages
|
| 2 |
RUN sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/sources.list && \
|
| 3 |
sed -i 's http://archive.ubuntu.com http://us-east-1.ec2.archive.ubuntu.com g' /etc/apt/sources.list && \
|
| 4 |
sed -i '/security/d' /etc/apt/sources.list && \
|
|
@@ -6,6 +5,7 @@ RUN sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/so
|
|
| 6 |
xargs -r -a /root/packages.txt apt-get install -y && \
|
| 7 |
rm -rf /var/lib/apt/lists/*
|
| 8 |
|
|
|
|
| 9 |
# Copy the package list and requirements file to the container
|
| 10 |
COPY packages.txt /root/
|
| 11 |
|
|
|
|
|
|
|
| 1 |
RUN sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/sources.list && \
|
| 2 |
sed -i 's http://archive.ubuntu.com http://us-east-1.ec2.archive.ubuntu.com g' /etc/apt/sources.list && \
|
| 3 |
sed -i '/security/d' /etc/apt/sources.list && \
|
|
|
|
| 5 |
xargs -r -a /root/packages.txt apt-get install -y && \
|
| 6 |
rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
+
|
| 9 |
# Copy the package list and requirements file to the container
|
| 10 |
COPY packages.txt /root/
|
| 11 |
|