docker

danieltdt 2018-11-30T18:56:25.001200Z

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...

danieltdt 2018-11-30T18:56:31.001400Z

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

danieltdt 2018-11-30T18:57:20.002200Z

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"
}

2018-11-30T18:59:45.002700Z

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

2018-11-30T19:00:06.003200Z

i had to build one to get java10 + lein 2.8.1

2018-11-30T19:01:00.003600Z

@daniel.teixeira

danieltdt 2018-11-30T19:01:40.004Z

cool, I'll take a look