diff --git a/Dockerfile b/Dockerfile index fb3e3aa..cc5ef5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,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