Add golang and link for g++

This commit is contained in:
Insanitybit 2018-10-13 12:03:53 -07:00
parent 17a680a0eb
commit d82fb80017

View file

@ -21,6 +21,7 @@ RUN apt-get update && \
curl \
file \
git \
golang \
musl-dev \
musl-tools \
libpq-dev \
@ -39,6 +40,9 @@ RUN apt-get update && \
mv mdbook /usr/local/bin/ && \
rm -f mdbook-v$MDBOOK_VERSION-x86_64-unknown-linux-musl.tar.gz
# Static linking for C++ code
RUN sudo ln -s "/usr/bin/g++" "/usr/bin/musl-g++"
# Allow sudo without a password.
ADD sudoers /etc/sudoers.d/nopasswd