From: Michael Tremer Date: Thu, 2 Mar 2023 19:11:28 +0000 (+0000) Subject: Drop support for Docker stuff X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf00931f27e84b95677169ec323b9b70dd1d9a8a;p=ipfire.org.git Drop support for Docker stuff Signed-off-by: Michael Tremer --- diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c59ddb03..00000000 --- a/Dockerfile +++ /dev/null @@ -1,43 +0,0 @@ -FROM centos:latest - -EXPOSE 80 - -# Enable EPEL -RUN yum install -y epel-release - -# Install all updates -RUN yum update -y - -# Install required packages -RUN yum install -y \ - autoconf \ - automake \ - curl-devel \ - gcc \ - make \ - openldap-devel \ - python34 \ - python34-devel \ - python34-pip \ - sassc \ - \ - /usr/share/hwdata/pci.ids \ - /usr/share/hwdata/usb.ids - -# Install Python packages -ADD requirements.txt . -RUN pip3 install -r requirements.txt - -# Copy code into the container -COPY . /build/ipfire.org -WORKDIR /build/ipfire.org - -# Install the webapp -RUN ./autogen.sh && ./configure --prefix=/usr --sysconfdir=/etc \ - && make -j4 && make install - -# Go back to /root -WORKDIR /root - -# Run the webapp -CMD ["ipfire.org-webapp", "--debug", "--logging=debug", "--port=80"] diff --git a/Makefile.am b/Makefile.am index 00d3024c..a2a3096c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1083,8 +1083,3 @@ src/static/img/apple-touch-icon-%-precomposed.png: src/static/img/ipfire-tux.png .PHONY: update update: for i in src/systemd/ipfire.org-webapp-*.service; do systemctl restart $$(basename $${i}) && sleep 5; done - -# Docker -.PHONY: docker -docker: Dockerfile - docker build -t "ipfire/webapp:$(PACKAGE_VERSION)" .