Created
March 7, 2024 15:00
-
-
Save jaraco/bb5d91c6bb309da1fcb27623b2f59e20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/airflow/Dockerfile b/airflow/Dockerfile | |
index 1dffaba..a109ca1 100644 | |
--- a/airflow/Dockerfile | |
+++ b/airflow/Dockerfile | |
@@ -2,7 +2,7 @@ | |
FROM apache/airflow:slim-2.8.1-python3.11 | |
ARG DUCKDB_VERSION=0.9.2 | |
-ARG SLING_VERSION=1.0.73 | |
+ARG SLING_VERSION=1.1.2 | |
# global pip is airflow | |
COPY airflow/requirements-airflow.txt ./ | |
@@ -43,9 +43,7 @@ RUN export DUCK_ARCH=$(uname -m | sed -e s/arm64/aarch64/ | sed -e s/x86_64/amd6 | |
# install sling | |
# XXX just stuff it into a pre-existing PATH directory | |
-# XXX sling does not support docker on M1 Apple silicon | |
-# see: https://github.com/slingdata-io/sling-cli/issues/130 | |
-RUN export SLING_ARCH=$(uname -m | sed -e s/x86_64/amd64/) \ | |
+RUN export SLING_ARCH=$(uname -m | sed -e s/arm64/aarch64/ | sed -e s/x86_64/amd64/) \ | |
&& wget -q -c https://github.com/slingdata-io/sling-cli/releases/download/v${SLING_VERSION}/sling_linux_${SLING_ARCH}.tar.gz \ | |
&& tar -xf sling_linux_${SLING_ARCH}.tar.gz sling \ | |
&& mv sling ${AIRFLOW_USER_HOME_DIR}/.local/bin \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment