Skip to content

Commit f43429f

Browse files
authored
Merge pull request #1856 from pi-hole/risc_alpine
Build all containers from a fixed base image
2 parents e0efbd3 + 836225c commit f43429f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
# syntax=docker/dockerfile:1
22
ARG FTL_SOURCE=remote
33
# Pull Stable images
4-
FROM alpine:3.22 AS base-stable
5-
FROM base-stable AS base-386
6-
FROM base-stable AS base-amd64
7-
FROM base-stable AS base-arm
8-
FROM base-stable AS base-arm64
9-
# Pull Edge images
10-
FROM alpine:edge AS base-edge
11-
FROM base-edge AS base-riscv64
12-
# Use the base image for the current architecture
13-
FROM base-${TARGETARCH} AS base
14-
# https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
4+
FROM alpine:3.22 AS base
155

166
ARG TARGETPLATFORM
177
ARG WEB_BRANCH="development"

0 commit comments

Comments
 (0)