If you want to sourceĀ /etc/profile.d/apache-maven.sh, do this in your Dockerfile
RUN echo ‘. /etc/profile.d/apache-maven.sh’ >> ~/.bashrc
DevOps | Software Automation | Continuous Integration
If you want to sourceĀ /etc/profile.d/apache-maven.sh, do this in your Dockerfile
RUN echo ‘. /etc/profile.d/apache-maven.sh’ >> ~/.bashrc
© 2023 Chuan Chuan Law
Theme by Anders Noren — Up ↑
Leave a Reply