Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7fa17f8dc |
+2
-3
@@ -23,11 +23,11 @@ RUN cargo build --release -p boco -p boco-init \
|
||||
FROM alpine:3.22 AS kernel
|
||||
# g++ for host tools, libelf for objtool, openssl for extract-cert
|
||||
RUN apk add --no-cache make gcc g++ musl-dev perl flex bison bc \
|
||||
elfutils-dev openssl-dev findutils tar xz zstd curl linux-headers
|
||||
elfutils-dev openssl-dev findutils tar xz zstd curl linux-headers diffutils
|
||||
WORKDIR /kbuild
|
||||
# Pinned upstream tarball: linux-7.2.tar.xz, sha256
|
||||
# f9fef3d14c0df53819026f4be74459835c2a0b0dcbf5b5bbd9ea19f0829402b3.
|
||||
# (Equivalent to user's shallow pin 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
|
||||
# (Equivalent to the upstream shallow pin 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
|
||||
# = refs/tags/v7.2{} — verified via `git ls-remote`; the tarball avoids
|
||||
# a multi-GB shallow clone through flaky slirp NAT.)
|
||||
RUN curl -fsSLo /tmp/linux-7.2.tar.xz https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.2.tar.xz \
|
||||
@@ -60,7 +60,6 @@ COPY --from=build /src/target/release/boco-init /home/boco/.local/share/boco/boc
|
||||
COPY --from=kernel /vmlinuz /home/boco/.local/share/boco/vmlinuz
|
||||
RUN chmod 755 /usr/local/bin/boco /home/boco/.local/share/boco/boco-init /home/boco/.local/share/boco/vmlinuz
|
||||
ENV XDG_DATA_HOME=/home/boco/.local/share
|
||||
ENV XDG_DATA_HOME=/home/boco/.local/share
|
||||
WORKDIR /data
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||
CMD ["image", "list"]
|
||||
Reference in new issue
Block a user