Commit ba5f44dc authored by protolambda's avatar protolambda

ops: fix entrypoint overriding behavior in circleci for nvm to work

parent bc009eff
...@@ -119,6 +119,11 @@ SHELL [ "/bin/bash", "-c" ] ...@@ -119,6 +119,11 @@ SHELL [ "/bin/bash", "-c" ]
ENV SHELL=/bin/bash ENV SHELL=/bin/bash
ENV BASH=/bin/bash ENV BASH=/bin/bash
# See https://circleci.com/docs/custom-images/#adding-an-entrypoint
# and https://circleci.com/docs/configuration-reference/#default-shell-options
# We need a login shell for nvm to work, and need circleci to not override it back to a regular bash shell.
LABEL com.circleci.preserve-entrypoint=true
ENTRYPOINT ["/bin/bash", "--login", "-eo", "pipefail", "-c"] ENTRYPOINT ["/bin/bash", "--login", "-eo", "pipefail", "-c"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment