Hi,
I am trying to install mssql-tools18 on a debian docker image.
this is what my dockerfile looks like:
FROM python:3.11.10
RUN curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg && \
curl https://packages.microsoft.com/config/debian/12/prod.list | tee /etc/apt/sources.list.d/mssql-release.list && \
apt-get update -y && \
apt-get upgrade -y && \
ACCEPT_EULA=Y apt-get install -y \
libgssapi-krb5-2 \
build-essential \
unixodbc-dev \
libffi-dev \
libssl-dev \
msodbcsql18 \
mssql-tools18 && \
apt-get clean all && \
curl -sSL https://install.python-poetry.org | python3 - && \
$HOME/.local/bin/poetry config virtualenvs.create false
COPY poetry.lock pyproject.toml /mssql-helmsman/
# the PATH update in the previous step doesn't take in time
RUN cd /mssql-helmsman && \
$HOME/.local/bin/poetry install --no-dev --no-root && \
pip install aws-sso-util
RUN mkdir -p /mssql-helmsman/src
COPY src/ /mssql-helmsman/src/
# copy this separately to improve incremental build times
COPY entrypoint.sh /mssql-helmsman/
ENTRYPOINT ["/bin/bash", "/mssql-helmsman/entrypoint.sh"]
When at the mssql-tools18 installation step, i get this issue
42.30 Get:1 https://packages.microsoft.com/debian/12/prod bookworm/main arm64 msodbcsql18 arm64 18.4.1.1-1 [689 kB]
42.58 Ign:2 https://packages.microsoft.com/debian/12/prod bookworm/main arm64 mssql-tools18 arm64 18.4.1.1-1
43.77 Ign:2 https://packages.microsoft.com/debian/12/prod bookworm/main arm64 mssql-tools18 arm64 18.4.1.1-1
45.97 Ign:2 https://packages.microsoft.com/debian/12/prod bookworm/main arm64 mssql-tools18 arm64 18.4.1.1-1
50.17 Err:2 https://packages.microsoft.com/debian/12/prod bookworm/main arm64 mssql-tools18 arm64 18.4.1.1-1
50.17 Could not handshake: A TLS fatal alert has been received. [IP: 4.155.111.140 443]
50.17 Fetched 689 kB in 8s (86.7 kB/s)
50.17 E: Failed to fetch https://pmc-geofence.trafficmanager.net/debian/12/prod/pool/main/m/mssql-tools18/mssql-tools18_18.4.1.1-1_arm64.deb?geofence=true Could not handshake: A TLS fatal alert has been received. [IP: 4.155.111.140 443]
50.17 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I can't seem to be able to curl this mirror as well
curl https://pmc-geofence.trafficmanager.net/
curl: (35) LibreSSL/3.3.6: error:1404B458:SSL routines:ST_CONNECT:tlsv1 unrecognized name
This used to work before. Did this mirror get moved to someplace else and its not reflected correctly in debian repositories?