/[LeafOK_CVS]/lbbs-combo/build.sh
ViewVC logotype

Contents of /lbbs-combo/build.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Thu Jan 22 14:58:59 2026 UTC (7 weeks, 5 days ago) by sysadm
Branch: MAIN
Changes since 1.2: +2 -0 lines
Content type: text/x-sh
Add build and publish for lbbs-solr:testing

1 #!/bin/sh
2
3 if [ ! -n "$DOCKER_PLATFORMS" ]; then
4 DOCKER_PLATFORMS="linux/amd64,linux/arm64"
5 fi
6
7 if [ ! -n "$RUN_PLATFORM" ]; then
8 RUN_PLATFORM="linux/amd64"
9 fi
10
11 git submodule update --init --recursive
12
13 docker buildx ls | grep multi-platform-builder
14
15 if [ $? -ne 0 ]; then
16 docker buildx create --use --name multi-platform-builder --platform=$DOCKER_PLATFORMS
17 else
18 docker buildx use multi-platform-builder
19 fi
20
21 docker buildx inspect multi-platform-builder --bootstrap
22
23 docker buildx build . --platform=$DOCKER_PLATFORMS --file Dockerfile/dockerfile.solr.testing --tag leafok/lbbs-solr:testing
24 docker buildx build . --platform=$DOCKER_PLATFORMS --file Dockerfile/dockerfile.apache.testing --tag leafok/lbbs-apache:testing
25 docker buildx build . --platform=$DOCKER_PLATFORMS --file Dockerfile/dockerfile.php.testing --tag leafok/lbbs-php:testing
26 docker buildx build . --platform=$DOCKER_PLATFORMS --file Dockerfile/dockerfile.bbsd.testing --tag leafok/lbbs-bbsd:testing
27
28 docker buildx build . --platform=$RUN_PLATFORM --file Dockerfile/dockerfile.solr.testing --tag leafok/lbbs-solr:testing --load
29 docker buildx build . --platform=$RUN_PLATFORM --file Dockerfile/dockerfile.apache.testing --tag leafok/lbbs-apache:testing --load
30 docker buildx build . --platform=$RUN_PLATFORM --file Dockerfile/dockerfile.php.testing --tag leafok/lbbs-php:testing --load
31 docker buildx build . --platform=$RUN_PLATFORM --file Dockerfile/dockerfile.bbsd.testing --tag leafok/lbbs-bbsd:testing --load

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1