Skip to content

Commit

Permalink
fix: do not fail on apt-get update (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
stasadev authored May 24, 2024
1 parent 3431063 commit b335446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-build/pre.Dockerfile.sqlsrv
Original file line number Diff line number Diff line change
Expand Up @@ -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 <microsoft.asc
RUN curl -sSL -o /etc/apt/sources.list.d/mssql-release.list https://packages.microsoft.com/config/debian/11/prod.list

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests \
RUN (apt-get update || true) && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests \
build-essential \
dialog \
php-pear \
Expand Down

0 comments on commit b335446

Please sign in to comment.