3 # fixes dpkg man page softlink error while installing postgresql-client [source: https://stackoverflow.com/a/52655008/5350059]
4 RUN mkdir -p /usr/share/man/man1 && \
5 mkdir -p /usr/share/man/man7
7 # npm is not available in Debian repo so following official instruction [source: https://github.com/nodesource/distributions/blob/master/README.md#debinstall]
8 RUN curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh && \
9 bash nodesource_setup.sh && \
10 rm -f nodesource_setup.sh
13 RUN apt-get update && \
14 apt-get install --no-install-recommends -y \
31 rm -rf /var/lib/apt/lists/*
33 # install npm packages
34 RUN npm install -g --unsafe-perm \
47 RUN sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen && \
48 echo 'LANG="en_GB.UTF-8"'>/etc/default/locale && \
49 dpkg-reconfigure --frontend=noninteractive locales && \
50 update-locale LANG=en_GB.UTF-8