Skip to content

Instantly share code, notes, and snippets.

@mnencia
Created October 26, 2017 12:32
Show Gist options
  • Select an option

  • Save mnencia/dbbd203596de9b0ced78eb17ee1bfe6e to your computer and use it in GitHub Desktop.

Select an option

Save mnencia/dbbd203596de9b0ced78eb17ee1bfe6e to your computer and use it in GitHub Desktop.
xenial-dev container
FROM ubuntu:xenial
RUN set -x \
&& apt-get update \
&& env DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install \
eatmydata \
pbuilder \
devscripts \
devscripts-el \
aptitude \
build-essential \
ubuntu-dev-tools \
emacs-nox \
git \
&& echo /usr/lib/*/libeatmydata.so > /etc/ld.so.preload \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m buildd
ADD https://anonscm.debian.org/cgit/pkg-postgresql/postgresql-common.git/plain/pgdg/apt.postgresql.org.sh /root/
@mnencia

mnencia commented Oct 26, 2017

Copy link
Copy Markdown
Author

run 'sh /root/apt.postgresql.org.sh' to have apt.postgresql.org repositories configured

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment