Skip to content

Commit

Permalink
linux/arm64 support, mssql17 -> 18
Browse files Browse the repository at this point in the history
  • Loading branch information
k-wolski committed Sep 16, 2024
1 parent 310a2fa commit d267874
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
target: viadot-lite
tags: ghcr.io/${{ github.repository }}/viadot-lite:${{ github.event.inputs.tag }}
Expand All @@ -50,7 +50,7 @@ jobs:
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
target: viadot-aws
tags: ghcr.io/${{ github.repository }}/viadot-aws:${{ github.event.inputs.tag }}
Expand All @@ -60,7 +60,7 @@ jobs:
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
target: viadot-azure
tags: ghcr.io/${{ github.repository }}/viadot-azure:${{ github.event.inputs.tag }}
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ RUN chmod +rwx /usr/lib/ssl/openssl.cnf && \

# ODBC -- make sure to pin driver version as it's reflected in odbcinst.ini
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
curl https://packages.microsoft.com/config/debian/10/prod.list > /etc/apt/sources.list.d/mssql-release.list && \
curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list && \
apt update -q && \
apt install -q libsqliteodbc && \
ACCEPT_EULA=Y apt install -q -y msodbcsql17=17.10.1.1-1 && \
ACCEPT_EULA=Y apt install -q -y mssql-tools=17.10.1.1-1 && \
ACCEPT_EULA=Y apt install -q -y msodbcsql18=18.4.1.1-1 && \
ACCEPT_EULA=Y apt install -q -y mssql-tools18=18.4.1.1-1 && \
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc

COPY docker/odbcinst.ini /etc
Expand Down

0 comments on commit d267874

Please sign in to comment.