https://github.com/cmosh/alpine-arm
Alpine base image for arm that can builds on docker hub and other x86 platforms. This is based on resin's debian project
https://github.com/cmosh/alpine-arm
alpine-linux arm docker qemu
Last synced: 12 months ago
JSON representation
Alpine base image for arm that can builds on docker hub and other x86 platforms. This is based on resin's debian project
- Host: GitHub
- URL: https://github.com/cmosh/alpine-arm
- Owner: cmosh
- License: apache-2.0
- Created: 2016-12-11T10:45:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-20T09:08:23.000Z (almost 9 years ago)
- Last Synced: 2025-05-03T05:32:51.206Z (about 1 year ago)
- Topics: alpine-linux, arm, docker, qemu
- Language: Go
- Size: 1.5 MB
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ARM image for alpine linux [](https://microbadger.com/images/cmosh/alpine-arm "Get your own image badge on microbadger.com")
Alpine base image for arm that can builds on docker hub and other x86 platforms. This is based on resin's debian project
## What is Alpine Linux
Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications. Read more about Alpine Linux here and you can see how their mantra fits in right at home with Docker images.
## How to use this image
Use like you would any other base image except for one caveat, you need to enclose your __RUN__ portion with:
FROM foo/bar
RUN [ "cross-build-start" ]
....
RUN [ "cross-build-end" ]
ENTRYPOINT ["./foo"]
CMD ["./bar"]
Like below:
FROM cmosh/alpine-arm:3.3
RUN [ "cross-build-start" ]
RUN apk add --no-cache mysql-client
RUN [ "cross-build-end" ]
ENTRYPOINT ["mysql"]
This will allow your image to safely build on docker hub.
## Note
This is experimental and was mainly built for my own personal needs. Kudos to the resin io team, this is based on their hard work, I needed a an alpine based image instead of a debian one, checkout [https://github.com/resin-io-projects/armv7hf-debian-qemu](https://github.com/resin-io-projects/armv7hf-debian-qemu) and the corresponding docker image