+++ /dev/null
-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"]