From a1c2293bdee7e96067ced20bff4fdecf97b0d6ce Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Mon, 10 Jan 2022 13:59:29 -0500 Subject: [PATCH 1/3] Update buildroot base image to bullseye slim Signed-off-by: Kyle Harding --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fbab39e..ef9ca66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ From 28ed8c29cd007c8c28b89027a939b9650f969b3d Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Thu, 13 Jan 2022 09:45:08 -0500 Subject: [PATCH 2/3] Remove docker from dependabot The buildroot base image should not impact the final image. Signed-off-by: Kyle Harding --- .github/dependabot.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 79884be..e5903e0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,3 @@ updates: directory: "/" schedule: interval: weekly -- package-ecosystem: docker - directory: "/" - schedule: - interval: weekly \ No newline at end of file From 34a6c02f4eabd4154cc5e82678822c9b675f8b93 Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Mon, 10 Jan 2022 13:59:09 -0500 Subject: [PATCH 3/3] Remove push and load from build commands Signed-off-by: Kyle Harding --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b8aadc..2c3b228 100644 --- a/README.md +++ b/README.md @@ -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