2 MAINTAINER jonatanschlag
5 org.ipfire.pakfire.name = "@PACKAGE_NAME@" \
6 org.ipfire.pakfire.url = "https://pakfire.ipfire.org" \
7 org.ipfire.pakfire.vendor = "IPFire Project" \
8 org.ipfire.pakfire.version = "@PACKAGE_VERSION@"
10 # Update all OS packages
11 RUN yum update -y && yum clean all
14 RUN yum install -y epel-release && yum clean all
16 # Install all dependencies
30 xz-devel && yum clean all
32 # Copy the pakfire source code
35 WORKDIR /build/pakfire
38 RUN ./autogen.sh && ./configure --prefix=/usr --sysconfdir=/etc && make -j4 && make check && make install && rm -rf /build/pakfire
44 RUN yum remove -y *-devel && yum autoremove -y && yum clean all
48 # Define default command.