Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arm32v7 support #487

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ library() {
case "$arch" in # converts Alpine Linux arch strings to Docker arch strings
x86_64) echo -n "amd64";;
x86) echo -n "i386";;
armhf) echo -n "arm32v6";; # arm32v7 is not officially supported by Alpine, but arm32v6 should still work.
armhf) echo -n "arm32v6";;
armv7) echo -n "arm32v7";;
aarch64) echo -n "arm64v8";;
ppc64le) echo -n "ppc64le";;
s390x) echo -n "s390x";;
Expand Down
5 changes: 5 additions & 0 deletions versions/library-3.9/armv7/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM scratch
ADD rootfs.tar.gz /
# ensure UTC instead of the default GMT
COPY UTC /etc/localtime
CMD ["/bin/sh"]
Binary file added versions/library-3.9/armv7/UTC
Binary file not shown.
4 changes: 4 additions & 0 deletions versions/library-3.9/armv7/options
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version=3.9.2
export ARCH="armv7"
export PULL_URL="http://dl-cdn.alpinelinux.org/alpine/v${version%.*}/releases/${ARCH}/alpine-minirootfs-${version}-${ARCH}.tar.gz"
export TAGS=(alpine:${version%.*}-${ARCH})