# $Id$ FROM debian:bullseye RUN apt-get update && \ apt-get install -y \ apt-transport-https \ apt-utils \ ca-certificates \ debian-archive-keyring ADD https://deb.clazzes.org/gpg/pba-archiver.clazzes.org.gpg /etc/apt/trusted.gpg.d/ ADD https://deb.clazzes.org/any/sources.list.d/any/any-pba-1.0.list /etc/apt/sources.list.d/ #RUN ls -l /etc/apt/trusted.gpg.d/ RUN chmod -v ugo+rx /etc/apt/trusted.gpg.d/pba-archiver.clazzes.org.gpg && \ apt-get update && \ apt-get install -y pba-common pba-builder # repo certs # apt source pba-1.0 # install pba-builder LABEL description="Clazzes.org PBA-Builder base image" MAINTAINER christoph.lechleitner@iteg.at # config #VOLUME /etc/pba # pba-builder tarballs in /var/lib/pba-builder/pbuilder/ # pba-rpmbuilder tarballs in /var/lib/pba-builder/rpm/ #VOLUME /var/lib/pba-builder/pbuilder # incoming/ work/ results/ #VOLUME /var/spool/pba-builder # later we add a script that calls pba-builder or pba-rpmbuilder or both based on what source packages are there #CMD ["/usr/bin/pba-builder", "-A", "-v"] CMD ["/usr/bin/pba-rpmbuilder", "-A", "-v"] #ENTRYPOINT ["/usr/sbin/pba-builder -A -v"]