2022-07-26 16:24:27 +03:00
|
|
|
FROM golang:1.16-alpine3.13
|
2022-07-26 17:58:34 +03:00
|
|
|
RUN set -eux; \
|
2024-03-25 13:01:18 +03:00
|
|
|
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
|
2023-04-17 13:09:57 +03:00
|
|
|
go install github.com/go-delve/delve/cmd/dlv@v1.9.0 && \
|
2023-03-07 17:13:51 +03:00
|
|
|
go install github.com/cosmtrek/air@v1.27.8 && \
|
2022-07-26 19:39:53 +03:00
|
|
|
go install github.com/jstemmer/go-junit-report@latest && \
|
|
|
|
go install github.com/axw/gocov/gocov@latest && \
|
2023-10-03 11:58:47 +03:00
|
|
|
go install gotest.tools/gotestsum@v1.10.0 && \
|
2022-10-28 14:43:15 +03:00
|
|
|
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 && \
|
|
|
|
rm -rf /merge-junit-v0.1.4-x86_64-unknown-linux-musl
|
2022-07-26 17:58:34 +03:00
|
|
|
WORKDIR /
|
2022-07-26 16:24:27 +03:00
|
|
|
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|