FROM install-beta ENV PGVERSION=15 # make sure we're not killed by odd port reconfigurations # (no idea where they come from) RUN sed -ie 's/port = 543./port = 5432/' /etc/postgresql/$PGVERSION/main/postgresql.conf # GAVOSETTINGS make the package ignore the /etc/gavo.rc that would # make it futz around with /var/gavo-inputs, which does not exist at this # point RUN /usr/bin/pg_ctlcluster $PGVERSION main start && \ apt-get update && \ su - postgres -c "createuser -s root" && \ DEBIAN_FRONTEND=noninteractive GAVOSETTINGS=/noting apt-get install -y gavodachs2-server/beta && \ apt-get clean && \ /usr/bin/pg_ctlcluster $PGVERSION main stop COPY docker-init / ENTRYPOINT ["./docker-init"] #ENTRYPOINT ["/bin/bash"]