Fork me on GitHub
#circleci
<
2021-02-23
>
timo10:02:17

Hi 👋 trying to run a machine executor. Clojure is clearly stated as pre-installed software but I cannot find it. Do I need to install it via apt-get?

glenjamin13:02:20

hrm, where does it say clojure is installed, and which image are you using?

timo15:02:35

Was using ubuntu-2004:202101-01

timo15:02:15

benchmark:
    machine:
      image: ubuntu-2004:202101-01
    environment:
      TIMBRE_LEVEL: ":warn"
    steps:
      - attach_workspace:
          at: /home/circleci
      - run: clojure -M:benchmark --db-server-url ${DB_URL} --db-name ${DB_NAME} --db-token ${DB_TOKEN} --tag ${CIRCLE_SHA1}

timo15:02:26

#!/bin/bash -eo pipefail
clojure -M:benchmark --db-server-url ${DB_URL} --db-name ${DB_NAME} --db-token ${DB_TOKEN} --tag ${CIRCLE_SHA1}

/bin/bash: clojure: command not found

Exited with code exit status 127

CircleCI received exit code 127

glenjamin15:02:14

ah, looks like what we actually mean is that we install leiningen

💡 1
glenjamin15:02:25

i’ll feed back to the images/docs team

timo15:02:00

ok, thanks