You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using inlein for a small kube cron job I want to run every 5 min.
However running inlein --deps /app/job.clj in a docker context keeps throwing this exception.
[INFO] Retrieving org/clojure/spec.alpha/0.2.176/spec.alpha-0.2.176.jar (590k) from https://repo1.maven.org/maven2/
Exception in thread "main" com.hypirion.bencode.BencodeReadException: Unexpected character 'd' when reading bencode-length of string
at com.hypirion.bencode.BencodeReader.readLen(BencodeReader.java:124)
at com.hypirion.bencode.BencodeReader.readString(BencodeReader.java:139)
at com.hypirion.bencode.BencodeReader.readDict(BencodeReader.java:204)
at inlein.client.ServerConnection.readNonlog(ServerConnection.java:118)
at inlein.client.ServerConnection.sendRequest(ServerConnection.java:106)
at inlein.client.tasks.Deps.run(Deps.java:27)
at inlein.client.Main.main(Main.java:32)
The command '/bin/sh -c inlein --deps /app/job.clj' returned a non-zero code: 1
Dockerfile:
FROM openjdk:11.0.8-jdk
RUN curl -L https://github.com/hypirion/inlein/releases/download/0.2.0/inlein > /usr/bin/inlein && chmod +x /usr/bin/inlein
WORKDIR /app
ADD *.clj .
RUN inlein --deps /app/job.clj
ENTRYPOINT inlein /app/job.clj
The text was updated successfully, but these errors were encountered:
Hi. Thanks for your work on
inlein
👍I'm using inlein for a small kube cron job I want to run every 5 min.
However running
inlein --deps /app/job.clj
in a docker context keeps throwing this exception.Dockerfile:
The text was updated successfully, but these errors were encountered: