We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 709a6b1 + a23ac9f commit 4604e4aCopy full SHA for 4604e4a
examples/docker/run_in_docker
@@ -9,8 +9,9 @@ fi
9
: "${RUN_PATH:="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"}"
10
: "${IMAGE_TAG:="airflow_kubernetes_job_operator_example_image"}"
11
: "${DAGS_PATH:="$(realpath "$RUN_PATH/../../tests/dags")"}"
12
+: "${KUBE_CONFIG:="$HOME/.kube/config"}"
13
14
docker build -t "$IMAGE_TAG" "$RUN_PATH" &&
15
docker run -it --rm --network host \
- -v "$HOME/.kube/config:/home/airflow/.kube/config" \
16
+ -v "$KUBE_CONFIG:/home/airflow/.kube/config" \
17
-v "$DAGS_PATH:/opt/airflow/dags" "$IMAGE_TAG"
0 commit comments