Skip to content

Commit dbfa97f

Browse files
pkg/xen-tools: use automatic hashes
provided by linuxkit to avoid having to bump manually like crazy Signed-off-by: Christoph Ostarek <[email protected]>
1 parent 280122c commit dbfa97f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pkg/xen-tools/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
# Copyright (c) 2023 Zededa, Inc.
44
# SPDX-License-Identifier: Apache-2.0
55

6-
FROM lfedge/eve-uefi:88d6376870a774e6f7a5f529084d68740287e6cb AS uefi-build
7-
FROM lfedge/eve-alpine:745ae9066273c73b0fd879c4ba4ff626a8392d04 AS runx-build
6+
ARG REL_HASH_LFEDGE_EVE_ALPINE
7+
ARG REL_HASH_LFEDGE_EVE_UEFI
8+
9+
FROM ${REL_HASH_LFEDGE_EVE_UEFI} AS uefi-build
10+
FROM ${REL_HASH_LFEDGE_EVE_ALPINE} AS runx-build
811
ENV BUILD_PKGS mkinitfs gcc musl-dev e2fsprogs chrony agetty
912
RUN eve-alpine-deploy.sh
1013

@@ -20,7 +23,7 @@ RUN gcc -s -o /chroot2 /tmp/chroot2.c -Wall -Werror
2023
RUN gcc -s -o /hacf /tmp/hacf.c -Wall -Werror
2124
RUN mkinitfs -n -F base -i /init-initrd -o /runx-initrd
2225

23-
FROM lfedge/eve-alpine:745ae9066273c73b0fd879c4ba4ff626a8392d04 AS build
26+
FROM ${REL_HASH_LFEDGE_EVE_ALPINE} AS build
2427
ENV BUILD_PKGS \
2528
gcc make libc-dev dev86 xz-dev perl bash python3-dev \
2629
gettext iasl util-linux-dev ncurses-dev glib-dev \

pkg/xen-tools/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ config:
1616
devices:
1717
- path: all
1818
type: a
19+
20+
buildArgs:
21+
- REL_HASH_%=@lkt:pkgs:../*

0 commit comments

Comments
 (0)