浏览代码

RHEL-approved naming

bryan 5 年之前
父节点
当前提交
4ac27676a6
共有 2 个文件被更改,包括 21 次插入1 次删除
  1. 21 0
      Containerfile
  2. 0 1
      Dockerfile

+ 21 - 0
Containerfile

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

+ 0 - 1
Dockerfile

@@ -1 +0,0 @@
-FROM fedora:latest