Containerfile 508 B

123456789101112131415161718192021
  1. FROM fedora:latest
  2. LABEL maintainer="bryanroessler@gmail.com"
  3. RUN dnf install dpkg rpm-build createrepo httpd -y
  4. RUN curl -sO "https://git.bryanroessler.com/bryan/install_MC_fedora/raw/master/install_MC_fedora.sh" \
  5. && chmod +x ./install_MC_fedora.sh \
  6. && ./install_MC_fedora.sh -b
  7. RUN dnf clean all
  8. COPY root/ /
  9. RUN systemctl enable httpd build-jriver-repo.timer
  10. EXPOSE 80
  11. CMD [ "/usr/sbin/init" ]
  12. # podman build -t build-jriver-repo .
  13. # podman run -d -p 8081:80 localhost/build-jriver-repo