This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Description I tried to build it like this:
docker build --build-arg EMAIL=my@email.com --build-arg LICENSE=MY-LICENSE .
and got this:
> [ 8/11] RUN curl -X POST -H 'Content-Type: application/json' -d '{"lic": "'"MY-LICENSE"'", "email": "'"my@email.com"'", "latest": "specific", "latest": "looker-'"21.8.23"'.jar"}' https://apidownload.looker.com/download > api_response.json && cat api_response.json && curl "$(cat api_response.json | jq -r '.url')" -o /opt/looker/looker.jar && curl "$(cat api_response.json | jq -r '.depUrl')" -o /opt/looker/looker-dependencies.jar:
#11 0.240 % Total % Received % Xferd Average Speed Time Time Time Current
#11 0.240 Dload Upload Total Spent Left Speed
100 141 100 27 100 114 32 136 --:--:-- --:--:-- --:--:-- 168
#11 1.084 {"error":"Invalid Request"} % Total % Received % Xferd Average Speed Time Time Time Current
#11 1.124 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: null
It works after changing this in the dockerfile:
-RUN curl -X POST -H 'Content-Type: application/json' -d '{"lic": "'"$LICENSE"'", "email": "'"$EMAIL"'", "latest": "specific", "specific": "looker-'"$LOOKER_VERSION"'.jar"}' https://apidownload.looker.com/download > api_response.json \
+RUN curl -X POST -H 'Content-Type: application/json' -d '{"lic": "'"$LICENSE"'", "email": "'"$EMAIL"'", "latest": "latest", "specific": "looker-'"$LOOKER_VERSION"'.jar"}' https://apidownload.looker.com/download > api_response.json \
Maybe the current version string is wrong?
Felix
Reactions are currently unavailable
I tried to build it like this:
and got this:
It works after changing this in the dockerfile:
Maybe the current version string is wrong?
Felix