Commit 5ebd15ce authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #7736 from ethereum-optimism/fix-circleci-entrypoint

ops: fix entrypoint overriding behavior in circleci for nvm to work
parents bc009eff ba5f44dc
...@@ -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