我在 Dockerfile 中的 .bashrc 中添加了很多东西,这是执行一些我想稍后在 Dockerfile 中运行的命令所必需的, 我厌倦了source .bashrc它不起作用。 我尝试使用,RUN /bin/bash -c --login ...但出现错误:mesg: ttyname failed: inappropriate ioctl for device
source .bashrc
RUN /bin/bash -c --login ...
mesg: ttyname failed: inappropriate ioctl for device
bash docker dockerfile
bash ×1
docker ×1
dockerfile ×1