mirror of
https://github.com/AlmaLinux/ks2rootfs.git
synced 2024-11-21 17:23:07 +00:00
Update Dockerfile.livecd
Added workdir to /code
This commit is contained in:
parent
7de3aaaf4e
commit
8938d9c140
@ -6,7 +6,7 @@ FROM almalinux:8 as builder
|
||||
|
||||
RUN dnf install -y epel-release elrepo-release && \
|
||||
dnf upgrade -y && \
|
||||
mkdir -p /mnt/system-root /mnt/system-root/build; \
|
||||
mkdir -p /mnt/system-root /mnt/system-root/code; \
|
||||
dnf install --enablerepo="powertools" --enablerepo="epel" --enablerepo="elrepo" --installroot /mnt/system-root --releasever 8 --setopt=install_weak_deps=False --setopt=tsflags=nodocs -y \
|
||||
dnf \
|
||||
systemd \
|
||||
@ -26,4 +26,6 @@ FROM scratch
|
||||
|
||||
COPY --from=builder /mnt/system-root/ /
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
|
Loading…
Reference in New Issue
Block a user