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.

Provide docker image for others architecture

See original GitHub issue

Feature request

Is your feature request related to a problem? Please describe. I would like to use manga-py using docker on a raspberrypi 3 B+. The current image mangadl/manga-py is only for linux/amd64 which makes it unusable.

Describe the solution you’d like Update the image published on hub.docker.com to support others architectures (in my case I would like armv7l). The current image is based on debian:buster-slim which support many architectures.

Describe alternatives you’ve considered I can think of 3 alternatives solutions:

  • local build
  • create another image on hub.docker.com to support others architectures
  • install manga-py directly on the rpi using pip install

Additional context Here is the result of docker info on a rpi 3 B+

$ docker info
Client:
 Debug Mode: false

Server:
 Containers: 9
  Running: 2
  Paused: 0
  Stopped: 7
 Images: 31
 Server Version: 19.03.11
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.118-v7+
 Operating System: Raspbian GNU/Linux 10 (buster)
 OSType: linux
 Architecture: armv7l
 CPUs: 4
 Total Memory: 975.6MiB
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

docker version

$ docker version
Client: Docker Engine - Community
 Version:           19.03.11
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        42e35e6
 Built:             Mon Jun  1 09:23:23 2020
 OS/Arch:           linux/arm
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.11
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       42e35e6
  Built:            Mon Jun  1 09:17:17 2020
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

debian_version

$ cat /etc/debian_version
10.4

Installing manga-py from pypi on rpi get stuck if you don’t have installed the following lib (tried on python:3 image to avoid installing python manually)

root@fc97e9a19f0c:/# history
    1  apt update
    2  apt-get install -y python3-lxml apt install libxml2-dev libxslt-dev python3-dev
    3  pip install manga-py

Here a quick example

from python:3

ENV LANG C.UTF-8
RUN apt-get update \
  && apt-get install -qy --no-install-recommends \
    python3-lxml \
    libxml2-dev \
    libxslt-dev \
    python3-dev \
  && pip install -q manga-py

I reckon that it might be necessary to add them to the dockerfile

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
1271commented, Jun 11, 2020

Thanks for the suggestion. Will be in the next release.

0reactions
1271commented, Jul 29, 2020

I will close this issue If you have any questions, please create another one. Thanks for using manga-py

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
Docker: Building Images for Multiple Architectures | by Sebastian
Multiarch builds is a Docker feature that allows you to build one image that runs on any number of target architectures. How does...
Read more >
Docker image for ARM and other architectures - Padok
I'll demonstrate how to build and distribute multi-architecture docker images while teaching a few things about container images distribution.
Read more >
Tutorial: Docker Build Image for Different or Multiple Architecture
Docker is one of best tools for containerization tool for creating images. Docker provide the layered architecture, using which it will not take...
Read more >
Pull docker image for different architecture - Stack Overflow
It does depend on the host machine. A linux host with properly installed qemu can happily run binaries compiled for other architectures as...
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