From 092710270c0a3eba319b663a26bbfbab40c92b16 Mon Sep 17 00:00:00 2001 From: colmsnowplow Date: Fri, 11 Aug 2023 18:32:58 +0100 Subject: [PATCH] Set default config path in docker images (close #271) --- Dockerfile.aws | 2 ++ Dockerfile.main | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile.aws b/Dockerfile.aws index 242ca67d..2fbdd607 100644 --- a/Dockerfile.aws +++ b/Dockerfile.aws @@ -6,4 +6,6 @@ ADD build/output/linux/aws/cli/snowbridge /opt/snowplow/ RUN adduser -D snowplow USER snowplow +ENV SNOWBRIDGE_CONFIG_FILE=/tmp/config.hcl + CMD ["/opt/snowplow/snowbridge"] diff --git a/Dockerfile.main b/Dockerfile.main index d333b414..35f7f481 100644 --- a/Dockerfile.main +++ b/Dockerfile.main @@ -6,4 +6,6 @@ ADD build/output/linux/main/cli/snowbridge /opt/snowplow/ RUN adduser -D snowplow USER snowplow +ENV SNOWBRIDGE_CONFIG_FILE=/tmp/config.hcl + CMD ["/opt/snowplow/snowbridge"]