openmamba-docker-buildvm/Dockerfile-i586

11 lines
464 B
Plaintext
Raw Permalink Normal View History

# syntax=docker/dockerfile:1
FROM --platform=linux/386 openmamba/openmamba:latest
RUN linux32 dnf update --nogpgcheck -y
RUN linux32 dnf install --nogpgcheck -y dnf-plugins-core iputils tar sudo openmamba-unstable-repos autodist apache
RUN linux32 dnf config-manager --set-enabled unstable-makedist
COPY rootfiles/ /
COPY rootfiles-i586/ /
RUN linux32 dnf install --nogpgcheck -y $(cat /root/builddeps)
EXPOSE 80
CMD [ "linux32", "apachectl", "-D", "FOREGROUND" ]