Move systemd into build.sh (#15)
All checks were successful
Build container image / Build and push image (push) Successful in 31m40s
All checks were successful
Build container image / Build and push image (push) Successful in 31m40s
Reviewed-on: #15 Co-authored-by: Eriq Taing <eriq12@protonmail.com> Co-committed-by: Eriq Taing <eriq12@protonmail.com>
This commit was merged in pull request #15.
This commit is contained in:
@@ -28,12 +28,6 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||
--mount=type=tmpfs,dst=/tmp \
|
||||
/ctx/build.sh
|
||||
|
||||
## Install Oh My Zsh and remaining services
|
||||
|
||||
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||
--mount=type=cache,dst=/var/cache/ \
|
||||
/ctx/finalize.sh
|
||||
|
||||
### LINTING
|
||||
## Verify final image and contents are correct.
|
||||
RUN bootc container lint
|
||||
RUN bootc container lint
|
||||
|
||||
@@ -15,4 +15,6 @@ set -ouex pipefail
|
||||
/ctx/dnf/terra.sh
|
||||
|
||||
# remove files in var lib dnf
|
||||
rm -rf /var/lib/dnf
|
||||
rm -rf /var/lib/dnf
|
||||
|
||||
/ctx/finalize.sh
|
||||
|
||||
Reference in New Issue
Block a user