From d5d3e87c599fc4841650071402abb486cf46e76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylvain=20Fra=C3=AFss=C3=A9?= Date: Mon, 9 Apr 2018 12:14:57 +0200 Subject: [PATCH 1/3] refact: fix use of deprecated "command" prefix --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5a3a0e6..3a6b369 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,12 +4,12 @@ cd /project/target # Compile if make > /tmp/compilation_logs 2>&1; then - echo "CG> redirect-streams \"Test results\"" + echo "TECHIO> redirect-streams \"Test results\"" # Execute test "$@" else - echo "CG> redirect-streams \"Compilation logs\"" + echo "TECHIO> redirect-streams \"Compilation logs\"" cat /tmp/compilation_logs fi From dda19460209d73c0d8ec4581eef400e3f31f28e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylvain=20Fra=C3=AFss=C3=A9?= Date: Mon, 9 Apr 2018 12:18:01 +0200 Subject: [PATCH 2/3] fix: success should be false is compilation fails --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3a6b369..b85aa07 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,6 +10,6 @@ if make > /tmp/compilation_logs 2>&1; then "$@" else echo "TECHIO> redirect-streams \"Compilation logs\"" - cat /tmp/compilation_logs + echo "TECHIO> success false" fi From 531ff145d8ca9af38af90e9809ab0216c5e0798f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylvain=20Fra=C3=AFss=C3=A9?= Date: Mon, 9 Apr 2018 13:57:49 +0200 Subject: [PATCH 3/3] feat: update gcc version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7a576aa..a902ba0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM gcc:7.1 +FROM gcc:7.3 COPY entrypoint.sh / COPY build.sh /project/build