Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gcc:7.1
FROM gcc:7.3

COPY entrypoint.sh /
COPY build.sh /project/build
Expand Down
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
echo "TECHIO> success false"
fi