question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multi-Arch DockerHub builds [🚀]

See original GitHub issue

Following the blog post by @everflux in https://www.trion.de/news/2019/10/14/docker-multi-arch-dockerhub.html I’ve implemented a multi-arch Docker build process for Juice Shop. There are some unsolved issues and some missing functionality still, but I’m not sure my Docker skills are sufficient to address these.

  1. 🐛 The snapshot-arm64v8 tag is downloading the x64 modules for iltorb, libxml2js and sqlite3 because it seems to think it is running on an x64 architecture. This is a dealbreaker as the resulting image simply cannot work on e.g. a RasPi3 or other ARM-chip computer.
  2. 💡 Currently the manifest is only configured for the snapshot builds from develop branch. If 1. gets eventually fixed, building latest from master and vX.Y.Z from Git tags would be needed. @everflux recommended to stick to one manifest file and replace the tag names e.g. via sed in the pre_build hook.

The additional hooks, Dockerfile for Arm64v8 and manifest file are available on https://github.com/bkimminich/juice-shop/tree/develop for anyone who wants to assist in this endeavor.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
bkimminichcommented, Jun 18, 2020

image

1reaction
bkimminichcommented, Jun 12, 2020

I’m officially out of ideas… ❌

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi-arch build and images, the simple way
This post gives an example of how to build a multiarch Docker image and push it to the Docker Hub. It also showed...
Read more >
How to build multi-arch Docker Images with ease
This article explains how to build Docker Images for multiple architectures using Docker and buildx.
Read more >
Cross Building and Running Multi-Arch Docker Images
Cross building and running multi-arch docker images for arm and RaspberryPis.
Read more >
Docker multi-arch image tooling, buildx | joonas.fi
Multi-arch image means that you can run the same $ docker run joonas/cool-app command on different hardware platforms like PC ( amd64 )...
Read more >
Multi Arch builds using buildx + Docker Hub
Hello, I'm using buildx to build multi arch images locally and it works great. Is there a way to get docker hub to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found