I am new to docker. I found that we can set environment variables using ENV instruction in the Dockerfile. But how does one set bash aliases for long commands in Dockerfile?
相关问题
- Docker task in Azure devops won't accept "$(pw
- JQ: Select when attribute value exists in a bash a
- Unable to run mariadb when mount volume
- Unspecified error (0x80004005) while running a Doc
- Why should we check WIFEXITED after wait in order
You can use entrypoint, but it will not work for alias, in your Dockerfile:
Your
entrypoint.sh
(Quick copy/paste, sorry)