Skip to content

Base image for crossbuilding armhf/aarch64 docker images using multi-stage builds

License

Notifications You must be signed in to change notification settings

fsimplice/docker-crossbuilder

Repository files navigation

TravisGitHub license

docker-crossbuilder

Base image for crossbuilding armhf/aarch64 docker images using multi-stage builds

Building images

armhf

$ make build

Or

$ make build TARGET=armhf

aarch64

$ make build TARGET=aarch64 

Using images for cross-building (DockerHub automated builds)

armhf

FROM elfabio972/crossbuilder:armhf as builder

FROM arm32v6/alpine:latest
COPY --from=builder /usr/bin /usr/bin

RUN [ "cross-build-start" ]

RUN apk update  

RUN [ "cross-build-end" ]

aarch64

FROM elfabio972/crossbuilder:aarch64 as builder

FROM aarch64/alpine:latest
COPY --from=builder /usr/bin /usr/bin

RUN [ "cross-build-start" ]

RUN apk update  

RUN [ "cross-build-end" ]

About

Base image for crossbuilding armhf/aarch64 docker images using multi-stage builds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published