openmamba-docker-buildvm/Dockerfile

10 lines
406 B
Docker

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