1 FROM ipfire/pakfire:latest
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 # Install all dependencies
23 # Install more python dependencies
24 RUN pip install geoip2
27 RUN groupadd -g 2000 pbs && \
28 useradd --system --no-create-home --shell /bin/bash --uid 2000 --gid 2000 pbs
30 # Copy the source code
31 COPY . /build/pakfire-build-service
33 WORKDIR /build/pakfire-build-service
35 # Compile the build service
37 ./configure --prefix=/usr --sysconfdir=/etc \
38 && make && make check && make install && rm -rf /build/pakfire-build-service
44 RUN yum remove -y *-devel && yum autoremove -y && yum clean all
48 # Define default command.