RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main" | \
tee /etc/apt/sources.list.d/postgres.list
RUN curl --silent --location https://deb.nodesource.com/setup_16.x | sudo bash -
+RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
+RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
RUN apt -y update
# install these without recommends to avoid pulling in e.g.
# X11 libraries, mailutils
apt clean &&\
rm -f /etc/apt/apt.conf.d/40proxy &&\
locale-gen en_US &&\
- apt install -y nodejs &&\
+ apt install -y nodejs yarn &&\
npm install -g terser &&\
npm install -g uglify-js