-
Notifications
You must be signed in to change notification settings - Fork 298
/
Readme.armhf
23 lines (17 loc) · 910 Bytes
/
Readme.armhf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Cross-platform/multi-platform docker images
Docker images for different and/or multiple architectures may be built using
`sudo make docker-multiarch`.
# Single-platform image for the current platform (compatibility)
As usual: `docker build .`
# Basic multi-platform build
Publish to your private docker registry, using the default set of platforms:
`sudo make docker-multiarch REGISTRY=docker.example.com`
# Specify your list of platforms
`sudo make docker-multiarch REGISTRY=docker.example.com PLATFORMS=linux/arm/v7`
For details on the supported platforms, see `./fs_overlay/bin/archname`.
# Set-up
In order to support cross-platform building, you need to install
`docker-buildx`. It can be downloaded from
https://github.com/docker/buildx/releases/latest and needs to be installed
as `~/.docker/cli-plugins/docker-buildx` and `chmod +x`ed. See
https://github.com/docker/buildx for more information.