mirror of
https://github.com/wekan/wekan.git
synced 2026-01-24 18:26:10 +01:00
Docker image for Linux amd64/arm64/s390x. Part 2.
Thanks to xet7 !
This commit is contained in:
parent
38711f0a29
commit
e72019fa55
2 changed files with 9 additions and 6 deletions
5
releases/docker-build-deps.sh
Executable file
5
releases/docker-build-deps.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
# Create a new builder instance that supports multi-platform
|
||||
docker buildx create --name mybuilder --driver docker-container --use
|
||||
|
||||
# Start the builder
|
||||
docker buildx inspect --bootstrap
|
||||
|
|
@ -1,18 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
# 1) Check that there is only one parameter
|
||||
# of Wekan version number:
|
||||
|
||||
if [ $# -ne 1 ]
|
||||
then
|
||||
echo "Syntax with Wekan version number:"
|
||||
echo " ./release.sh 8.24"
|
||||
echo " ./releases/docker-build.sh 8.24"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ensure you are using the correct builder
|
||||
docker buildx use mybuilder
|
||||
|
||||
docker buildx build \
|
||||
--platform linux/amd64,linux/arm64,linux/s390x \
|
||||
-t wekan/wekan:v$1 \
|
||||
--push .
|
||||
|
||||
# OLD: docker build -t wekan .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue