Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: [/scripts-131430-121129324/step_script: /root/.sdkman/bin/sdkman-init.sh: line 75: syntax error: unexpected "("] #1324

Open
patpatpat123 opened this issue Nov 8, 2024 · 0 comments
Labels

Comments

@patpatpat123
Copy link

Bug report

$ source "/root/.sdkman/bin/sdkman-init.sh"
/scripts-131430-121129324/step_script: /root/.sdkman/bin/sdkman-init.sh: line 75: syntax error: unexpected "("

To reproduce

Step 1: in Gitlab CI/CD, build a very simple job which only runs SDKMAN:

build-without-sock:
  image: docker:stable
  stage: build
  script:
    - apk add curl
    - apk add bash
    - apk add unzip
    - apk add zip
    - curl -s "https://get.sdkman.io" | bash
    - source "/root/.sdkman/bin/sdkman-init.sh"
    - sdk version

Reproducible 100%, the line source "/root/.sdkman/bin/sdkman-init.sh" would yield /scripts-131430-121129324/step_script: /root/.sdkman/bin/sdkman-init.sh: line 75: syntax error: unexpected "("

System info

It is a base very famous docker:stable image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant