chicago-joe
06/09/2022, 5:13 PMRUN export PREFECT__CONTEXT__SECRETS__AWS_CREDENTIALS=$(echo `(aws secretsmanager get-secret-value --secret-id ${prefect_aws_secret_name} --region ${region}) | jq -r '.SecretString'`)
I'm having a ton of trouble using ARG/ENV/RUN with a dockerfile, what I want is for PREFECT__CONTEXT__SECRETS_AWS_CREDENTIALS to show up as an env variable in the final image. Does anyone have experience setting env variables in a dockerfile from command output?Kevin Kho
06/09/2022, 5:46 PMchicago-joe
06/09/2022, 5:49 PMKevin Kho
06/09/2022, 5:59 PMMarcin Grzybowski
06/09/2022, 6:14 PMchicago-joe
06/09/2022, 6:19 PMKevin Kho
06/09/2022, 6:42 PMAnna Geller
06/09/2022, 7:17 PMchicago-joe
06/09/2022, 7:49 PMAnna Geller
06/09/2022, 8:02 PMprefect agent docker start --label AGENT_LABEL --volume ~/.aws:/root/.aws