forked from gh-mirrored/hallstatt
chore: clean up the repo even more
Signed-off-by: Tulip Blossom <tulilirockz@proton.me>
This commit is contained in:
+4
-4
@@ -1,7 +1,6 @@
|
||||
FROM scratch AS ctx
|
||||
|
||||
COPY files /files
|
||||
COPY build-scripts /build-scripts
|
||||
COPY build.sh /build.sh
|
||||
|
||||
FROM quay.io/centos-bootc/centos-bootc:c10s
|
||||
|
||||
@@ -9,6 +8,7 @@ RUN --mount=type=tmpfs,dst=/var \
|
||||
--mount=type=tmpfs,dst=/tmp \
|
||||
--mount=type=tmpfs,dst=/boot \
|
||||
--mount=type=tmpfs,dst=/run \
|
||||
--mount=type=bind,from=ctx,source=/build-scripts,dst=/tmp/build-scripts \
|
||||
--mount=type=bind,from=ctx,source=/files,dst=/tmp/files \
|
||||
--mount=type=bind,from=ctx,source=/,dst=/tmp/build-scripts \
|
||||
/tmp/build-scripts/build.sh
|
||||
|
||||
RUN bootc container lint --fatal-warnings
|
||||
|
||||
Reference in New Issue
Block a user