diff options
author | Badlop <badlop@process-one.net> | 2022-05-26 16:55:55 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2022-06-09 11:41:34 +0200 |
commit | 8d94ae4cb0a88b7548a4c70ca4f5f8ac32537342 (patch) | |
tree | 7126bac68d94c52ee51331d52677b14c53ebe3d5 /CONTAINER.md | |
parent | make-binaries: Include CAPTCHA script with release (diff) |
Container: Fix build instructions
Diffstat (limited to 'CONTAINER.md')
-rw-r--r-- | CONTAINER.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/CONTAINER.md b/CONTAINER.md index cb32b409..5bcb26cd 100644 --- a/CONTAINER.md +++ b/CONTAINER.md @@ -256,10 +256,10 @@ That OTP release is configured with: Build ejabberd Community Server base image from ejabberd master on GitHub: ```bash -VERSION = master +VERSION=master docker build \ - --build-arg VERSION=$(VERSION) \ - -t personal/ejabberd:$(VERSION) \ + --build-arg VERSION=$VERSION \ + -t personal/ejabberd:$VERSION \ .github/container ``` @@ -267,11 +267,11 @@ Build ejabberd Community Server base image for a given ejabberd version, both for amd64 and arm64 architectures: ```bash -VERSION = 22.05 +VERSION=22.05 docker buildx build \ --platform=linux/amd64,linux/arm64 - --build-arg VERSION=$(VERSION) \ - -t personal/ejabberd:$(VERSION) \ + --build-arg VERSION=$VERSION \ + -t personal/ejabberd:$VERSION \ .github/container ``` @@ -280,9 +280,9 @@ It's also possible to use podman instead of docker, just notice: - It mentions that `healthcheck` is not supported by the Open Container Initiative image format - If you want to start with command `live`, add environment variable `EJABBERD_BYPASS_WARNINGS=true` ```bash -VERSION = master +VERSION=master podman build \ - --build-arg VERSION=$(VERSION) \ + --build-arg VERSION=$VERSION \ -t ja:$(version) \ .github/container ``` |