docker-golang-alpine/1.18/Dockerfile

11 lines
410 B
Docker
Raw Normal View History

2022-07-26 16:24:27 +03:00
FROM golang:1.18-alpine
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
chmod -R 777 "$GOPATH"
WORKDIR /
2022-07-26 16:24:27 +03:00
ENTRYPOINT ["/usr/bin/dumb-init", "--"]