I am migrating pipelines from v1.0 to 2.0, using docker.
I have tried half a dozen different dockers providing Scala with SBT, and others seem statisfied with that, but whatever image I choose, I always get this output:
#!/bin/bash -eo pipefail sbt sbtVersion /bin/bash: sbt: command not found
I am trying to simply run “sbt sbtVersion”, which should print the version of SBT I have in my environment.
I literally copied different circleci configs from the web (e.g. https://hub.docker.com/r/codestar/circleci-scala-sbt-git/) but apparently it doesn’t work for me…
Here is my minified circle.yml. Can somebody please point out to me what the mistake is ?
version: 2 jobs: build: docker: - image: circleci/node:6-browsers - image: codestar/circleci-scala-sbt-git:scala-2.12.2-sbt-0.13.15 steps: - run: command: sbt sbtVersion