mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-20 02:18:51 +00:00
Build all containers from a fixed base image
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -1,17 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
ARG FTL_SOURCE=remote
|
ARG FTL_SOURCE=remote
|
||||||
# Pull Stable images
|
# Pull Stable images
|
||||||
FROM alpine:3.22 AS base-stable
|
FROM alpine:3.22 AS base
|
||||||
FROM base-stable AS base-386
|
|
||||||
FROM base-stable AS base-amd64
|
|
||||||
FROM base-stable AS base-arm
|
|
||||||
FROM base-stable AS base-arm64
|
|
||||||
# Pull Edge images
|
|
||||||
FROM alpine:edge AS base-edge
|
|
||||||
FROM base-edge AS base-riscv64
|
|
||||||
# Use the base image for the current architecture
|
|
||||||
FROM base-${TARGETARCH} AS base
|
|
||||||
# https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
|
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG WEB_BRANCH="development"
|
ARG WEB_BRANCH="development"
|
||||||
|
|||||||
Reference in New Issue
Block a user