From 4077d06661d6fc15754de4bd54a3f15974ea5e6b Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Thu, 3 Aug 2023 17:08:23 +0300 Subject: [PATCH] add gotestsum --- 1.16-3.13/Dockerfile | 1 + 1.16/Dockerfile | 1 + 1.17-3.13/Dockerfile | 1 + 1.17/Dockerfile | 1 + 1.18-nofaccessat2/Dockerfile | 1 + 1.18/Dockerfile | 1 + 1.19-nofaccessat2/Dockerfile | 1 + 1.19/Dockerfile | 1 + README.md | 1 + 9 files changed, 9 insertions(+) diff --git a/1.16-3.13/Dockerfile b/1.16-3.13/Dockerfile index 3bb4597..2147b88 100644 --- a/1.16-3.13/Dockerfile +++ b/1.16-3.13/Dockerfile @@ -5,6 +5,7 @@ RUN set -eux; \ go install github.com/cosmtrek/air@v1.27.8 && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ + go install gotest.tools/gotestsum@latest && \ chmod -R 777 "$GOPATH" && \ curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \ mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \ diff --git a/1.16/Dockerfile b/1.16/Dockerfile index ecd77c5..a5e85ce 100644 --- a/1.16/Dockerfile +++ b/1.16/Dockerfile @@ -5,6 +5,7 @@ RUN set -eux; \ go install github.com/cosmtrek/air@v1.27.8 && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ + go install gotest.tools/gotestsum@latest && \ chmod -R 777 "$GOPATH" && \ curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \ mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \ diff --git a/1.17-3.13/Dockerfile b/1.17-3.13/Dockerfile index 7c93346..60edded 100644 --- a/1.17-3.13/Dockerfile +++ b/1.17-3.13/Dockerfile @@ -5,6 +5,7 @@ RUN set -eux; \ go install github.com/cosmtrek/air@v1.40.0 && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ + go install gotest.tools/gotestsum@latest && \ chmod -R 777 "$GOPATH" && \ curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \ mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \ diff --git a/1.17/Dockerfile b/1.17/Dockerfile index 1592d2f..fdd6009 100644 --- a/1.17/Dockerfile +++ b/1.17/Dockerfile @@ -5,6 +5,7 @@ RUN set -eux; \ go install github.com/cosmtrek/air@v1.40.0 && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ + go install gotest.tools/gotestsum@latest && \ chmod -R 777 "$GOPATH" && \ curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \ mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \ diff --git a/1.18-nofaccessat2/Dockerfile b/1.18-nofaccessat2/Dockerfile index a4147d7..2ca4dca 100644 --- a/1.18-nofaccessat2/Dockerfile +++ b/1.18-nofaccessat2/Dockerfile @@ -23,6 +23,7 @@ RUN set -eux; \ go install github.com/cosmtrek/air@latest && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ + go install gotest.tools/gotestsum@latest && \ chmod -R 777 "$GOPATH" && \ curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \ mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \ diff --git a/1.18/Dockerfile b/1.18/Dockerfile index 13582c3..30f9a96 100644 --- a/1.18/Dockerfile +++ b/1.18/Dockerfile @@ -5,6 +5,7 @@ RUN set -eux; \ go install github.com/cosmtrek/air@latest && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ + go install gotest.tools/gotestsum@latest && \ chmod -R 777 "$GOPATH" && \ curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \ mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \ diff --git a/1.19-nofaccessat2/Dockerfile b/1.19-nofaccessat2/Dockerfile index ad89793..afe4f16 100644 --- a/1.19-nofaccessat2/Dockerfile +++ b/1.19-nofaccessat2/Dockerfile @@ -23,6 +23,7 @@ RUN set -eux; \ go install github.com/cosmtrek/air@latest && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ + go install gotest.tools/gotestsum@latest && \ chmod -R 777 "$GOPATH" && \ curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \ mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \ diff --git a/1.19/Dockerfile b/1.19/Dockerfile index 7ba9762..adeb71b 100644 --- a/1.19/Dockerfile +++ b/1.19/Dockerfile @@ -5,6 +5,7 @@ RUN set -eux; \ go install github.com/cosmtrek/air@latest && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ + go install gotest.tools/gotestsum@latest && \ chmod -R 777 "$GOPATH" && \ curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \ mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \ diff --git a/README.md b/README.md index a3a1b05..c730662 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ A minimal Dockerfile based on Go 1.16, 1.17, 1.18 and alpine with dumb-init and - delve - gocov - merge-junit +- gotestsum - go-junit-report - dumb-init