Skip to content

Commit e50607f

Browse files
committed
Add nginx unit version 1.34.x
1 parent e0aec6e commit e50607f

File tree

2 files changed

+57
-4
lines changed

2 files changed

+57
-4
lines changed

Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ FROM alpine:3.20 AS rootfs
4343

4444
COPY --from=nginx-unit-builder ["/opt/unit/", "/opt/unit/"]
4545
COPY --from=ghcr.io/n0rthernl1ghts/s6-rootfs:3.1.6.2 ["/", "/rootfs-build"]
46+
COPY --from=ghcr.io/n0rthernl1ghts/docker-env-secrets:latest ["/", "/rootfs-build/"]
4647

4748
# Rootfs
4849
COPY ["./rootfs", "/rootfs-build"]
@@ -54,8 +55,6 @@ RUN set -eux \
5455
&& apk add --update --no-cache bash rsync \
5556
&& /tmp/setup-unit.sh
5657

57-
# Install init-docker-secrets service
58-
COPY --from=ghcr.io/n0rthernl1ghts/docker-env-secrets:latest ["/", "/rootfs-build/"]
5958

6059

6160
################################################

build/docker-bake.hcl

+56-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ group "default" {
1818
"1_32_1_PHP81",
1919
"1_32_1_PHP82",
2020
"1_33_0_PHP81",
21-
"1_33_0_PHP82"
21+
"1_33_0_PHP82",
22+
"1_34_0_PHP81",
23+
"1_34_0_PHP82",
24+
"1_34_1_PHP81",
25+
"1_34_1_PHP82",
26+
"1_34_2_PHP81",
27+
"1_34_2_PHP82"
2228
]
2329
}
2430

@@ -239,6 +245,54 @@ target "1_33_0_PHP82" {
239245
inherits = ["build-dockerfile", "build-platforms", "build-common"]
240246
cache-from = get-cache-from("1.33.0-PHP8.2")
241247
cache-to = get-cache-to("1.33.0-PHP8.2")
242-
tags = get-tags("1.33.0-PHP8.2", ["1.33-PHP8.2", "1.33", "1.33.0", "latest"])
248+
tags = get-tags("1.33.0-PHP8.2", ["1.33-PHP8.2", "1.33", "1.33.0"])
243249
args = get-args("1.33.0", "8.2", "")
250+
}
251+
252+
target "1_34_0_PHP81" {
253+
inherits = ["build-dockerfile", "build-platforms", "build-common"]
254+
cache-from = get-cache-from("1.34.0-PHP8.1")
255+
cache-to = get-cache-to("1.34.0-PHP8.1")
256+
tags = get-tags("1.34.0-PHP8.1", [])
257+
args = get-args("1.34.0", "8.1", "")
258+
}
259+
260+
target "1_34_0_PHP82" {
261+
inherits = ["build-dockerfile", "build-platforms", "build-common"]
262+
cache-from = get-cache-from("1.34.0-PHP8.2")
263+
cache-to = get-cache-to("1.34.0-PHP8.2")
264+
tags = get-tags("1.34.0-PHP8.2", ["1.34.0"])
265+
args = get-args("1.34.0", "8.2", "")
266+
}
267+
268+
target "1_34_1_PHP81" {
269+
inherits = ["build-dockerfile", "build-platforms", "build-common"]
270+
cache-from = get-cache-from("1.34.1-PHP8.1")
271+
cache-to = get-cache-to("1.34.1-PHP8.1")
272+
tags = get-tags("1.34.1-PHP8.1", [])
273+
args = get-args("1.34.1", "8.1", "")
274+
}
275+
276+
target "1_34_1_PHP82" {
277+
inherits = ["build-dockerfile", "build-platforms", "build-common"]
278+
cache-from = get-cache-from("1.34.1-PHP8.2")
279+
cache-to = get-cache-to("1.34.1-PHP8.2")
280+
tags = get-tags("1.34.1-PHP8.2", ["1.34.1"])
281+
args = get-args("1.34.1", "8.2", "")
282+
}
283+
284+
target "1_34_2_PHP81" {
285+
inherits = ["build-dockerfile", "build-platforms", "build-common"]
286+
cache-from = get-cache-from("1.34.2-PHP8.1")
287+
cache-to = get-cache-to("1.34.2-PHP8.1")
288+
tags = get-tags("1.34.2-PHP8.1", [])
289+
args = get-args("1.34.2", "8.1", "")
290+
}
291+
292+
target "1_34_2_PHP82" {
293+
inherits = ["build-dockerfile", "build-platforms", "build-common"]
294+
cache-from = get-cache-from("1.34.2-PHP8.2")
295+
cache-to = get-cache-to("1.34.2-PHP8.2")
296+
tags = get-tags("1.34.2-PHP8.2", ["1.34-PHP8.2", "1.34", "1.34.2", "latest"])
297+
args = get-args("1.34.2", "8.2", "")
244298
}

0 commit comments

Comments
 (0)