On Armbian, trying to use the example docker-compose.yaml and Dockerfile produces the following error:
$ docker compose up -d
[+] Building 1.0s (8/8) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 695B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 639B 0.0s
=> [internal] load metadata for docker.io/library/alpine:latest 0.4s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/4] FROM docker.io/library/alpine:latest@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b 0.0s
=> CACHED [2/4] RUN apk add --no-cache curl bash ca-certificates dcron 0.0s
=> CACHED [3/4] RUN curl -sL https://cronitor.io/dl/linux_amd64.tar.gz -o /tmp/cronitor.tgz && tar xvf /tmp/cronitor.tgz -C /usr/local/bin/ && chmod +x /usr/local/bin/cronitor 0.0s
=> ERROR [4/4] RUN cronitor configure --dash-username xxx --dash-password xxx 0.3s
------
> [4/4] RUN cronitor configure --dash-username xxx --dash-password xxx:
0.312 /usr/local/bin/cronitor: line 2: syntax error: unterminated quoted string
------
[+] up 0/1
⠙ Image cron-dashboard-crontab-guru Building 1.1s
Dockerfile:20
--------------------
18 |
19 | # Configure authentication
20 | >>> RUN cronitor configure --dash-username ${DASHBOARD_USERNAME} --dash-password ${DASHBOARD_PASSWORD}
21 |
22 | EXPOSE 9000
--------------------
failed to solve: process "/bin/sh -c cronitor configure --dash-username ${DASHBOARD_USERNAME} --dash-password ${DASHBOARD_PASSWORD}" did not complete successfully: exit code: 2
On Armbian, trying to use the example docker-compose.yaml and Dockerfile produces the following error: