-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
46 lines (35 loc) · 1.33 KB
/
Containerfile
File metadata and controls
46 lines (35 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM scratch as ctx
COPY build_files /build
COPY system_files /files
COPY --from=ghcr.io/ublue-os/brew:latest /system_files /files
COPY cosign.pub /files/etc/pki/containers/theobroma.pub
FROM quay.io/fedora/fedora-bootc:43
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/var \
--mount=type=tmpfs,dst=/tmp \
/ctx/build/00-repoinit.sh
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/var \
--mount=type=tmpfs,dst=/tmp \
/ctx/build/01-base.sh
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/var \
--mount=type=tmpfs,dst=/tmp \
/ctx/build/04-HWE.sh
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
/ctx/build/06-nvidia.sh
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/var \
--mount=type=tmpfs,dst=/tmp \
/ctx/build/02-extras.sh
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/var \
--mount=type=tmpfs,dst=/tmp \
/ctx/build/03-gnome.sh
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/var \
--mount=type=tmpfs,dst=/tmp \
/ctx/build/05-trivalent.sh
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
/ctx/build/99-cleanup.sh
RUN rm -rf /var/* && mkdir /var/tmp && bootc container lint