From b3354466ae51fc64b4d2c47a4ff9e300f30b7db8 Mon Sep 17 00:00:00 2001 From: Stanislav Zhuk Date: Fri, 24 May 2024 12:07:53 +0300 Subject: [PATCH] fix: do not fail on `apt-get update` (#26) --- web-build/pre.Dockerfile.sqlsrv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-build/pre.Dockerfile.sqlsrv b/web-build/pre.Dockerfile.sqlsrv index a059887..d0dc3cf 100644 --- a/web-build/pre.Dockerfile.sqlsrv +++ b/web-build/pre.Dockerfile.sqlsrv @@ -2,13 +2,13 @@ ARG odbc_version=2.3.7 ENV PATH="${PATH}:/opt/mssql-tools/bin" -RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests apt-utils curl gnupg2 ca-certificates +RUN (apt-get update || true) && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests apt-utils curl gnupg2 ca-certificates RUN curl -sSL -O https://packages.microsoft.com/keys/microsoft.asc RUN apt-key add