Skip to content

Commit

Permalink
Use Ubuntu 24.04 image for Microsoft ODBC (#2196)
Browse files Browse the repository at this point in the history
* Use Ubuntu 24.04 image for Microsoft ODBC

* Fix typo

* Don't use apt-key
  • Loading branch information
mathbunnyru authored Dec 29, 2024
1 parent 2483ba8 commit 319c99c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/using/recipe_code/microsoft_odbc.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/jupyter/base-notebook:ubuntu-22.04
FROM quay.io/jupyter/base-notebook

# Fix: https://github.com/hadolint/hadolint/wiki/DL4006
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
Expand All @@ -11,7 +11,7 @@ ENV PATH="/opt/mssql-tools18/bin:${PATH}"

RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends curl gnupg2 lsb-release && \
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
curl -fsSL "https://packages.microsoft.com/keys/microsoft.asc" | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg && \
curl "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list" > /etc/apt/sources.list.d/mssql-release.list && \
apt-get update --yes && \
ACCEPT_EULA=Y apt-get install --yes --no-install-recommends msodbcsql18 && \
Expand Down

0 comments on commit 319c99c

Please sign in to comment.