We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9252a0d commit bfaf9c0Copy full SHA for bfaf9c0
1 file changed
Dockerfile
@@ -91,5 +91,9 @@ COPY --chown=mambauser:mambauser dockerfiles/docker_tests /home/mambauser/Code/A
91
COPY --chmod=755 dockerfiles/entrywrapper.sh /usr/local/bin/entrywrapper.sh
92
COPY --chmod=644 dockerfiles/aliases.sh /etc/profile.d/aliases.sh
93
COPY --chmod=755 dockerfiles/aliases_print.sh /usr/local/bin/aliases
94
+RUN touch /home/mambauser/.bashrc && \
95
+ grep -qxF 'source /etc/profile.d/aliases.sh' /home/mambauser/.bashrc || \
96
+ echo 'source /etc/profile.d/aliases.sh' >> /home/mambauser/.bashrc
97
98
+USER root
99
ENTRYPOINT ["/usr/local/bin/entrywrapper.sh"]
0 commit comments