1 개요[ | ]
- Dockerfile ARG
dockerfile
Copy
ARG CODE_VERSION=latest
FROM base:${CODE_VERSION}
CMD /code/run-app
FROM extras:${CODE_VERSION}
CMD /code/run-extras
2 Predefined ARGs[ | ]
Docker has a set of predefined ARG
variables that you can use without a corresponding ARG
instruction in the Dockerfile.[1]
- HTTP_PROXY
- http_proxy
- HTTPS_PROXY
- https_proxy
- FTP_PROXY
- ftp_proxy
- NO_PROXY
- no_proxy
3 같이 보기[ | ]
4 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.