From 67369cbadfe721f973f25051dca1169ef9b16681 Mon Sep 17 00:00:00 2001 From: Reficul Date: Tue, 31 Jan 2023 17:43:42 +0800 Subject: [PATCH] fix compatibility with rules_docker >= v0.23 --- rpm/rpm.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/rpm.bzl b/rpm/rpm.bzl index df97a33..141e27c 100644 --- a/rpm/rpm.bzl +++ b/rpm/rpm.bzl @@ -34,7 +34,7 @@ def _rpms_impl(ctx, rpms = None): return _container.image.implementation(ctx, tars = tars) _rpms_layer = rule( - attrs = dict(_container.image.attrs.items() + { + attrs = dict([ item for item in _container.image.attrs.items() if item[0] != "_allowlist_function_transition" ] + { # The dependency whose runfiles we're appending. "rpms": attr.label_list(allow_files = True, mandatory = True), "_rpm_installer": attr.label(