1
0
mirror of https://github.com/AlmaLinux/ks2rootfs.git synced 2024-12-22 04:13:07 +00:00

Update Dockerfile.livecd

Added workdir to /code
This commit is contained in:
Bala Raman 2021-08-13 06:13:21 -04:00 committed by GitHub
parent 7de3aaaf4e
commit 8938d9c140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]