Skip to content

Commit

Permalink
Upgrade buildkit from 0.7.2 to 0.8.0
Browse files Browse the repository at this point in the history
Also include the custom runc version
  • Loading branch information
afbjorklund committed Dec 12, 2020
1 parent a60e264 commit 597661b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sha256 33bcaa49b31bc3a277ac75d32fce3f5442d39f53a1799b8624e985279b579f74 buildkit-v0.7.2.linux-amd64.tar.gz
sha256 28005748fae926edf8c93b7cb1df53ec49df65dec67105b94e7fb9c513fa78a4 buildkit-v0.8.0.linux-amd64.tar.gz
12 changes: 9 additions & 3 deletions deploy/iso/minikube-iso/package/buildkit-bin/buildkit-bin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@
#
################################################################################

BUILDKIT_BIN_VERSION = v0.7.2
BUILDKIT_BIN_VERSION = v0.8.0
BUILDKIT_BIN_SITE = https://github.com/moby/buildkit/releases/download/$(BUILDKIT_BIN_VERSION)
BUILDKIT_BIN_SOURCE = buildkit-$(BUILDKIT_BIN_VERSION).linux-amd64.tar.gz

# https://github.com/opencontainers/runc.git
BUILDKIT_RUNC_VERSION = 939ad4e3fcfa1ab531458355a73688c6f4ee5003

define BUILDKIT_BIN_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 \
$(@D)/buildctl \
$(TARGET_DIR)/usr/bin/buildctl
$(TARGET_DIR)/usr/bin
$(INSTALL) -D -m 0755 \
$(@D)/buildkit-runc \
$(TARGET_DIR)/usr/sbin
$(INSTALL) -D -m 0755 \
$(@D)/buildkitd \
$(TARGET_DIR)/usr/sbin/buildkitd
$(TARGET_DIR)/usr/sbin
endef

$(eval $(generic-package))
2 changes: 1 addition & 1 deletion deploy/kicbase/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# for a kubernetes node image, it doesn't contain much we don't need
FROM ubuntu:focal-20201106

ARG BUILDKIT_VERSION="v0.7.2"
ARG BUILDKIT_VERSION="v0.8.0"

# copy in static files (configs, scripts)
COPY 10-network-security.conf /etc/sysctl.d/10-network-security.conf
Expand Down

0 comments on commit 597661b

Please sign in to comment.