Files
Reloader/docs/Container Build.md
Karl-Johan Grahn 29310fe3ae Enterprise version and doc QA checks (#480)
* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2023-06-26 20:32:02 +02:00

1.3 KiB

Container Build

WARNING: As a user of Reloader there is no need to build containers, the open source version is available on Docker Hub.

Multi-architecture approach is based on original work by @mdh02038.

Images are tested on linux/arm, linux/arm64 and linux/amd64.

Install Pre-Reqs

The build environment requires the following packages (tested on Ubuntu 20.04):

  • Golang
  • make
  • qemu (for arm, arm64 etc. emulation)
  • binfmt-support
  • Docker engine

Docker

Follow instructions on Install using the apt repository.

Once installed, enable the experimental CLI:

export DOCKER_CLI_EXPERIMENTAL=enabled

Login to enable publishing of packages:

sudo docker login

Remaining Pre-Reqs

Remaining Pre-Reqs can be installed via:

sudo apt install golang make qemu-user-static binfmt-support -y

Publish Multi-Architecture Image

To build/ publish multi-arch Docker images clone repository and execute from repository root:

sudo make release-all

Additional Links/Info

Building Multi-Architecture Docker Images With Buildx