Skip to content

Commit

Permalink
feat: build datefudge and resizefat32
Browse files Browse the repository at this point in the history
  • Loading branch information
nkraetzschmar committed Sep 5, 2024
1 parent e27a967 commit a846c1e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
RUN git clone --branch debian/1.26 --depth=1 https://salsa.debian.org/debian/datefudge.git
RUN make -C datefudge install

FROM debian:testing AS resizefat32
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential ca-certificates git
RUN git clone https://github.com/gardenlinux/resizefat32
RUN make -C resizefat32 install

FROM debian:testing

LABEL org.opencontainers.image.source="https://github.com/gardenlinux/builder"
Expand All @@ -31,6 +36,7 @@ COPY --from=mv_data /usr/bin/mv_data /usr/bin/mv_data
COPY --from=aws-kms-pkcs11 /aws_kms_pkcs11.so /aws_kms_pkcs11.so
COPY --from=datefudge /usr/lib/datefudge/datefudge.so /usr/lib/datefudge/datefudge.so
COPY --from=datefudge /usr/bin/datefudge /usr/bin/datefudge
COPY --from=resizefat32 /usr/bin/resizefat32 /usr/bin/resizefat32
RUN mv /aws_kms_pkcs11.so "/usr/lib/$(uname -m)-linux-gnu/pkcs11/aws_kms_pkcs11.so"
COPY builder /builder
RUN mkdir /builder/cert
Expand Down
2 changes: 2 additions & 0 deletions pkg.list
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ cryptsetup
curl
dosfstools
e2fsprogs
erofs-utils
fdisk
file
gnupg2
libcurl4
libengine-pkcs11-openssl
Expand Down

0 comments on commit a846c1e

Please sign in to comment.