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
25 # Install more python dependencies
26 RUN pip install geoip2
29 RUN groupadd -g 2000 pbs && \
30 useradd --system --no-create-home --shell /bin/bash --uid 2000 --gid 2000 pbs
32 # Copy the source code
33 COPY . /build/pakfire-build-service
35 WORKDIR /build/pakfire-build-service
37 # Compile the build service
39 ./configure --prefix=/usr --sysconfdir=/etc \
40 && make && make check && make install && rm -rf /build/pakfire-build-service
46 RUN yum remove -y *-devel && yum autoremove -y && yum clean all
50 # Define default command.