cancel
Showing results for 
Search instead for 
Did you mean: 
AlessandraS
Flight Engineer
Flight Engineer
  • 50 Views

Chapter 4 v4.18 - 4.3 Build Images with Advanced Containerfile Instructions - ARG instructions

Hi, in this example when the following RUN command inside the Containerfile is executed

RUN curl "https://dl.example.io/${VERSION}/example-linux-amd64" \ -o ${BIN_DIR}/example

${VERSION} is valued to 1.16.8, but nowhere in the chapter is explained that if the ARG value is nil, then the ENV value is passed to ${VERSION}.

Am I right? Thanks

AlessandraS_0-1758191170184.png

AlessandraS_1-1758192015780.png

 

 

0 Replies
Join the discussion
You must log in to join this conversation.