File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,6 @@ RUN chmod +x /opt/docker/bin/entrypoint_source
7979COPY entrypoint /opt/docker/bin/entrypoint
8080RUN chmod +x /opt/docker/bin/entrypoint
8181
82- # Ensure that all containers start with tini and the user selected process.
83- # Activate the `conda` environment `base`.
84- # Provide a default command (`bash`), which will start if the user doesn't specify one.
85- ENTRYPOINT [ "/opt/conda/bin/tini" , "--" , "/opt/docker/bin/entrypoint" ]
86- CMD [ "/bin/bash" ]
87-
8882FROM conda AS build
8983
9084ARG LMP_OPTS=""
@@ -132,3 +126,9 @@ RUN ln -s /opt/gromacs_build/bin/gmx /bin/gmx
132126
133127COPY --from=build /opt/lammps_build /opt/lammps_build
134128RUN ln -s /opt/lammps_build/bin/lmp /bin/lmp
129+
130+ # Ensure that all containers start with tini and the user selected process.
131+ # Activate the `conda` environment `base`.
132+ # Provide a default command (`bash`), which will start if the user doesn't specify one.
133+ ENTRYPOINT [ "/opt/conda/bin/tini" , "--" , "/opt/docker/bin/entrypoint" ]
134+ CMD [ "/bin/bash" ]
Original file line number Diff line number Diff line change @@ -82,12 +82,6 @@ RUN chmod +x /opt/docker/bin/entrypoint_source
8282COPY entrypoint /opt/docker/bin/entrypoint
8383RUN chmod +x /opt/docker/bin/entrypoint
8484
85- # Ensure that all containers start with tini and the user selected process.
86- # Activate the `conda` environment `base`.
87- # Provide a default command (`bash`), which will start if the user doesn't specify one.
88- ENTRYPOINT [ "/opt/conda/bin/tini" , "--" , "/opt/docker/bin/entrypoint" ]
89- CMD [ "/bin/bash" ]
90-
9185FROM conda AS build
9286
9387ARG LMP_OPTS=""
@@ -135,3 +129,9 @@ RUN ln -s /opt/gromacs_build/bin/gmx /bin/gmx
135129
136130COPY --from=build /opt/lammps_build /opt/lammps_build
137131RUN ln -s /opt/lammps_build/bin/lmp /bin/lmp
132+
133+ # Ensure that all containers start with tini and the user selected process.
134+ # Activate the `conda` environment `base`.
135+ # Provide a default command (`bash`), which will start if the user doesn't specify one.
136+ ENTRYPOINT [ "/opt/conda/bin/tini" , "--" , "/opt/docker/bin/entrypoint" ]
137+ CMD [ "/bin/bash" ]
You can’t perform that action at this time.
0 commit comments