Fork me on GitHub
#docker
<
2018-11-30
>
danieltdt18:11:25

Hey guys! I'm trying to pull the docker image clojure:lein-2.8.1 but, for some reason, there is no image available for amd64 architecture...

danieltdt18:11:31

$ docker manifest inspect -v clojure:lein-2.8.1 | jq .[].Descriptor.platform
{
  "architecture": "arm",
  "os": "linux",
  "variant": "v7"
}

danieltdt18:11:20

for clojure:openjdk-11-lein-2.8.1, all arch is available

$ docker manifest inspect -v clojure:openjdk-11-lein-2.8.1 | jq .[].Descriptor.platform
{
  "architecture": "amd64",
  "os": "linux"
}
{
  "architecture": "arm",
  "os": "linux",
  "variant": "v7"
}
{
  "architecture": "arm64",
  "os": "linux",
  "variant": "v8"
}
{
  "architecture": "386",
  "os": "linux"
}
{
  "architecture": "ppc64le",
  "os": "linux"
}
{
  "architecture": "s390x",
  "os": "linux"
}

nickmbailey18:11:45

not sure why that would be the case but fwiw i found it pretty easy to build custom clojure docker images from the repo https://github.com/Quantisan/docker-clojure

nickmbailey19:11:06

i had to build one to get java10 + lein 2.8.1

danieltdt19:11:40

cool, I'll take a look