-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (15 loc) · 902 Bytes
/
Dockerfile
File metadata and controls
18 lines (15 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# The first stage copies my configuration from system_files/ over and adds DNF
# repositories.
FROM quay.io/fedora-ostree-desktops/silverblue:42 AS base
RUN --mount=type=bind,src=/build_scripts/base.sh,dst=/build_scripts/base.sh \
--mount=type=bind,src=/build_scripts/_lib.sh,dst=/build_scripts/_lib.sh \
--mount=type=bind,src=/system_files,dst=/system_files \
--mount=type=cache,dst=/var/cache \
sh /build_scripts/base.sh
# The final stage is based on the first stage.
FROM base AS verms-os
RUN --mount=type=bind,src=/build_scripts/final.sh,dst=/build_scripts/final.sh \
--mount=type=bind,src=/build_scripts/_lib.sh,dst=/build_scripts/_lib.sh \
--mount=type=bind,src=/build_scripts/packages.txt,dst=/build_scripts/packages.txt \
--mount=type=bind,src=/build_scripts/packages_no_weak_deps.txt,dst=/build_scripts/packages_no_weak_deps.txt \
sh /build_scripts/final.sh