ARG variables in practice

Report a typo

You have the following Dockerfile.

ARG VERSION
FROM ubuntu:$VERSION
 
LABEL author=HyperUser 

ENV $HOST_FILE=demo.txt
ENV IMAGE_DESTINATION="/tmp"
COPY $HOST_FILE $IMAGE_DESTINATION

ENTRYPOINT ["ls", "/tmp"]

What will happen if you build an image with this command?

$ docker build -t ubuntu:v1 .
Select one option from the list
___

Create a free account to access the full topic