Merge pull request #57 from insanitybit/master

Support static builds with grpcio dependencies
This commit is contained in:
Eric Kidd 2018-12-22 22:10:36 -05:00 committed by GitHub
commit c0fb03aa6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,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