Add golang and link for g++
This commit is contained in:
parent
17a680a0eb
commit
d82fb80017
|
@ -21,6 +21,7 @@ RUN apt-get update && \
|
||||||
curl \
|
curl \
|
||||||
file \
|
file \
|
||||||
git \
|
git \
|
||||||
|
golang \
|
||||||
musl-dev \
|
musl-dev \
|
||||||
musl-tools \
|
musl-tools \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
|
@ -39,6 +40,9 @@ RUN apt-get update && \
|
||||||
mv mdbook /usr/local/bin/ && \
|
mv mdbook /usr/local/bin/ && \
|
||||||
rm -f mdbook-v$MDBOOK_VERSION-x86_64-unknown-linux-musl.tar.gz
|
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.
|
# Allow sudo without a password.
|
||||||
ADD sudoers /etc/sudoers.d/nopasswd
|
ADD sudoers /etc/sudoers.d/nopasswd
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue