aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/docker/Dockerfile b/debian/docker/Dockerfile
index 42f2dfa..d55a08a 100644
--- a/debian/docker/Dockerfile
+++ b/debian/docker/Dockerfile
@@ -51,7 +51,7 @@ RUN apt-get update -y \
# Prepare the cross-toolchain
RUN if test "${PACKAGE_ARCH}" != "$( dpkg --print-architecture )"; then \
if grep -q -i ubuntu /etc/os-release; then \
- rm /etc/apt/sources.list /etc/apt/sources.list.d/* \
+ rm /etc/apt/sources.list /etc/apt/sources.list.d/* || true \
&& export CODENAME="$( lsb_release -c -s )" \
&& echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ ${CODENAME} main restricted universe multiverse" >>/etc/apt/sources.list.d/amd64.list \
&& echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ ${CODENAME}-updates main restricted universe multiverse" >>/etc/apt/sources.list.d/amd64.list \
bgstack15