Build Arguments
Use build arguments to modify the app or its behaviour during build time
services:
test-app:
ssh: true
build: .
build-args:
BAR: ${FOO}# This will assign "123" to the BAR variable in the Dockerfile
FOO="123" auterion-cli app build# This will also assign "123" to the BAR variable in the Dockerfile
FOO="123"FROM auterion/app-base:v2
ARG BAR
RUN echo "My docker build arg is ${BAR}"Last updated