mirror of
https://github.com/klutchell/unbound-docker.git
synced 2026-10-16 16:02:58 +00:00
Merge pull request #41 from klutchell/bullseye-slim
Update buildroot base image to bullseye slim
This commit is contained in:
@@ -4,7 +4,3 @@ updates:
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
- package-ecosystem: docker
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#syntax=docker/dockerfile:1.2
|
||||
|
||||
# hadolint ignore=DL3029
|
||||
FROM --platform=$BUILDPLATFORM debian:bullseye-20211201 AS buildroot-base
|
||||
FROM --platform=$BUILDPLATFORM debian:bullseye-20211220-slim AS buildroot-base
|
||||
|
||||
# hadolint ignore=DL3008
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -115,10 +115,10 @@ export DOCKER_BUILDKIT=1
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
|
||||
# build local image for native platform
|
||||
docker build . --pull --tag klutchell/unbound --load
|
||||
docker build . --tag klutchell/unbound
|
||||
|
||||
# cross-build for another platform
|
||||
docker build . --pull --tag klutchell/unbound --load --platform linux/arm/v6
|
||||
docker build . --tag klutchell/unbound --platform linux/arm/v6
|
||||
```
|
||||
|
||||
## Test
|
||||
|
||||
Reference in New Issue
Block a user