From d82fb80017e6b3241c5d9bb0eed16c072fcdcdeb Mon Sep 17 00:00:00 2001 From: Insanitybit Date: Sat, 13 Oct 2018 12:03:53 -0700 Subject: [PATCH 1/3] Add golang and link for g++ --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index fb3e3aa..1fd7b0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 From dc272029d72e62667d33e6c34644775de76ae7c7 Mon Sep 17 00:00:00 2001 From: Insanitybit Date: Sat, 13 Oct 2018 12:06:18 -0700 Subject: [PATCH 2/3] Fix spacing --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1fd7b0d..11f7253 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN apt-get update && \ curl \ file \ git \ - golang \ + golang \ musl-dev \ musl-tools \ libpq-dev \ From cbb3022dd6e1acbb6d08e574a8f102170f9e4492 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 22 Dec 2018 15:14:36 -0800 Subject: [PATCH 3/3] Update Dockerfile --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 11f7253..cc5ef5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,6 @@ RUN apt-get update && \ curl \ file \ git \ - golang \ musl-dev \ musl-tools \ libpq-dev \