mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 12:17:52 +00:00
Migrate Kubemark to distroless
This commit is contained in:
@@ -4,7 +4,7 @@ load("@io_bazel_rules_docker//container:container.bzl", "container_image", "cont
|
||||
|
||||
container_image(
|
||||
name = "image",
|
||||
base = "@debian_jessie//image",
|
||||
base = "@distroless_base//image",
|
||||
entrypoint = ["/kubemark"],
|
||||
files = ["//cmd/kubemark"],
|
||||
stamp = True,
|
||||
|
@@ -12,8 +12,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# The line below points to debian:jessie as of 2019-10-23. The SHA should be
|
||||
# kept in sycn with debian_jessie definition in the WORKSPACE file.
|
||||
FROM debian@sha256:e25703ee6ab5b2fac31510323d959cdae31eebdf48e88891c549e55b25ad7e94
|
||||
# The line below points to distroless/base as of 2019-11-15. The SHA should be
|
||||
# kept in sycn with distroless_base definition in the WORKSPACE file.
|
||||
FROM gcr.io/distroless/base@sha256:7fa7445dfbebae4f4b7ab0e6ef99276e96075ae42584af6286ba080750d6dfe5
|
||||
|
||||
COPY kubemark /kubemark
|
||||
|
Reference in New Issue
Block a user