KEINOS / Dockerfile_of_SQLite3

Latest SQLite3 on Alpine Docker image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support ARM architecture. ARM64, v6 and v7

KEINOS opened this issue · comments

The current image fails to run on ARM architecture, such as Raspberry Pi Zero and Raspberry Pi 3B+.

Since the base image KEINOS/alpine:latest supports ARM v6 and v7, let's support them in this image as well.

$ docker pull keinos/sqlite3:latest
...

$ docker run --rm keinos/sqlite3 /run-test.sh
standard_init_linux.go:211: exec user process caused "exec format error"

$ # Env info
$ arch
armv6l
$ cat /etc/os-release | grep PRETTY
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
$ docker --version
Docker version 19.03.9, build 9d98839
$ docker pull keinos/sqlite3:latest
...

$ docker run --rm keinos/sqlite3 /run-test.sh
standard_init_linux.go:211: exec user process caused "no such file or directory"

$ # Env info
$ arch
armv7l
$ cat /etc/os-release | grep PRETTY
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
$ docker --version
Docker version 19.03.6, build 369ce74

We will support ARM64 architecture as well.

F.Y.I.
Due to a change in the Docker HUB terms of service, the base image keinos:alpine is no longer linked to automatic updates, so the base image has been changed to alpine:latest.

Featured in PR #20