Files
Jamie Curnow dd72bc45b1 Major updates
- OpenResty v1.29.2.4
  Using the github tag since this fixes a fresh CVE-2026-42945
- Updated base debian image to trixie
- Lua v5.5.0
- Luarocks v3.13.0
- Removed unused install script for Crowsec
2026-05-18 10:55:26 +10:00

34 lines
758 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash -e
BLUE='\E[1;34m'
CYAN='\E[1;36m'
YELLOW='\E[1;33m'
GREEN='\E[1;32m'
RESET='\E[0m'
echo -e "${BLUE} ${CYAN}Building docker multiarch: ${YELLOW}${*}${RESET}"
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${DIR}/.."
# Buildx Builder
docker buildx create --name "${BUILDX_NAME:-nginx-full}" || echo
docker buildx use "${BUILDX_NAME:-nginx-full}"
docker buildx build \
--platform linux/amd64,linux/arm64 \
--progress plain \
--pull \
--build-arg BASE_IMAGE \
--build-arg ACMESH_IMAGE \
--build-arg CERTBOT_IMAGE \
--build-arg OPENRESTY_VERSION \
--build-arg LUA_VERSION \
--build-arg LUAROCKS_VERSION \
$@ \
.
docker buildx rm "${BUILDX_NAME:-nginx-full}"
echo -e "${BLUE} ${GREEN}Multiarch build Complete${RESET}"