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.

Docker containers for more platforms

See original GitHub issue

Besides x68_64 aka amd64, various ARM platforms are being used for servers or development (Raspberry, Mac, AWS, …). The current docker build process can only build for the developer machine’s architecture, typically amd64. This is then also what is published as a docker image on Docker Hub. As a result, ARM servers cannot use the docker image; a complete build system has to be set up on the ARM server before Kroki can be run.

Docker supports multi-architecture images seamlessly and efficiently; clients will transparently request the correct image for their architecture, if that architecture is available. For example, Debian base images are available in up to 9 architectures.

If the underlying code runs on multiple architectures as well, then it is easy to build a multi-architecture docker image, e.g., in Knot DNS. If not, these issues need to be sorted out first.

As most of the code is Java, Python, or JavaScript, I would expect the changes to be straightforward.

(Spin-off of #1066 discussion)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Mogzttercommented, Jul 17, 2022

Mermaid is provided as a companion container, see: https://docs.kroki.io/kroki/setup/install/#_companion_containers

0reactions
huyzcommented, Jul 17, 2022

Oh never mind, it works now! (I had forgotten to specify HTTP/1.1 in my telnet command)

Well, mostly. If I try a mermaid diagram, I get Error 503: Connection refused: /127.0.0.1:8002

Read more comments on GitHub >

github_iconTop Results From Across the Web

Faster Multi-Platform Builds: Dockerfile Cross-Compilation ...
In order to build multi-platform container images, we will use the docker buildx command. Buildx is a Docker component that enables many ...
Read more >
Multi-platform images | Docker Documentation
Docker images can support multiple platforms, which means that a single image may contain variants for different architectures, and sometimes for different ...
Read more >
Multi-Platform Docker Builds
Docker images have become a standard tool for testing and deploying new and third-party software.
Read more >
Docker: Accelerated, Containerized Application Development
Docker is a platform designed to help developers build, share, and run modern applications. We handle the tedious setup, so you can focus...
Read more >
What is a Container? - Docker
A container is a unit of software that packages code and its dependencies so the application runs quickly and reliably across computing environments....
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