JanusGraph / janusgraph-docker

JanusGraph Docker images
Other
98 stars 87 forks source link

Wrong yq version is pulled in Dockerfile for ARM64 #124

Closed sruehl closed 1 year ago

sruehl commented 1 year ago

https://github.com/JanusGraph/janusgraph-docker/blob/master/1.0/Dockerfile#L33

In this line the AMD64 version of yq is pulled into the Dockerfile which leads to /usr/local/bin/docker-entrypoint.sh: line 61: /usr/bin/yq: cannot execute binary file: Exec format error

sruehl commented 1 year ago

as a hint you can access ${TARGETARCH} in docker build like this curl -fSL https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o yq