-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
hi!
trying to install in docker and its failing with multiple release versions
docker-compose.yaml:
crontab-guru:
build:
context: .
dockerfile: ../dockefiles/crontabguru.docker
args:
DASHBOARD_USERNAME: ${CRONITOR_USERNAME}
DASHBOARD_PASSWORD: ${CRONITOR_PASSWORD}
container_name: mediastack-crontabguru
ports:
- "9000:9000"
volumes:
- cronitor-data:/root/.config/cronitor
- ./crontabs:/var/spool/cron/crontabs
restart: unless-stopped
# environment:
# - PUID=${PUID:?err}
# - PGID=${PGID:?err}
network_mode: "service:gluetun"
../dockefiles/crontabguru.docker same as in https://crontab.guru/dashboard.html
FROM alpine:latest
# Build arguments - MUST be provided during build
ARG DASHBOARD_USERNAME
ARG DASHBOARD_PASSWORD
# Install dependencies
RUN apk add --no-cache \
curl \
bash \
ca-certificates \
dcron
# Install cronitor CLI
RUN curl -sL https://cronitor.io/dl/linux_amd64.tar.gz -o /usr/local/bin/cronitor && \
chmod +x /usr/local/bin/cronitor
# Configure authentication
RUN cronitor configure --dash-username ${DASHBOARD_USERNAME} --dash-password ${DASHBOARD_PASSWORD}
EXPOSE 9000
CMD ["cronitor", "dash", "--port", "9000"]
output:
$ md-up
[+] Building 7.1s (7/7) FINISHED docker:default
=> [crontab-guru internal] load build definition from crontabguru.docker 0.0s
=> => transferring dockerfile: 597B 0.0s
=> [crontab-guru internal] load metadata for docker.io/library/alpine:latest 1.5s
=> [crontab-guru internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [crontab-guru 1/4] FROM docker.io/library/alpine:latest@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 0.6s
=> => resolve docker.io/library/alpine:latest@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 0.0s
=> => sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 9.22kB / 9.22kB 0.0s
=> => sha256:a107a3c031732299dd9dd607bb13787834db2de38cfa13f1993b7105e4814c60 1.02kB / 1.02kB 0.0s
=> => sha256:7acffee03fe864cd6b88219a1028855d6c912e7cf6fac633aa4307529fd0cc08 611B / 611B 0.0s
=> => sha256:014e56e613968f73cce0858124ca5fbc601d7888099969a4eea69f31dcd71a53 3.86MB / 3.86MB 0.4s
=> => extracting sha256:014e56e613968f73cce0858124ca5fbc601d7888099969a4eea69f31dcd71a53 0.1s
=> [crontab-guru 2/4] RUN apk add --no-cache curl bash ca-certificates dcron 2.8s
=> [crontab-guru 3/4] RUN curl -sL https://cronitor.io/dl/linux_amd64.tar.gz -o /usr/local/bin/cronitor && chmod +x /usr/local/bin/cronitor 1.8s
=> ERROR [crontab-guru 4/4] RUN cronitor configure --dash-username user --dash-password abc 0.2s
------
> [crontab-guru 4/4] RUN cronitor configure --dash-username user --dash-password abc:
0.194 /usr/local/bin/cronitor: line 0: syntax error: unterminated quoted string
------
failed to solve: process "/bin/sh -c cronitor configure --dash-username ${DASHBOARD_USERNAME} --dash-password ${DASHBOARD_PASSWORD}" did not complete successfully: exit code: 2
I've found this thread pointing to architecture https://stackoverflow.com/questions/67084390/run-cronitor-on-raspberry-crontab, but:
$ uname -a
Linux home 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg --print-architecture
amd64
so I'd say I should be on amd64.
I tried older releases up to 30.4 with only slight changes in output, but no luck either way. also tried simplifying username and password, adding quotes around username/password
build output is after clearing build cache, but result is the same
julowe
Metadata
Metadata
Assignees
Labels
No labels