add tzdata & fix build and readme

This commit is contained in:
Pavel 2024-03-25 13:01:18 +03:00
parent d60d97bfcf
commit f6f98f664c
15 changed files with 25 additions and 25 deletions

View File

@ -1,6 +1,6 @@
FROM golang:1.16-alpine3.13
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@v1.9.0 && \
go install github.com/cosmtrek/air@v1.27.8 && \
go install github.com/jstemmer/go-junit-report@latest && \

View File

@ -1,6 +1,6 @@
FROM golang:1.16-alpine
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@v1.9.0 && \
go install github.com/cosmtrek/air@v1.27.8 && \
go install github.com/jstemmer/go-junit-report@latest && \

View File

@ -1,8 +1,8 @@
FROM golang:1.17-alpine3.13
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@v1.9.1 && \
go install github.com/cosmtrek/air@v1.40.0 && \
go install github.com/cosmtrek/air@v1.40.4 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -1,8 +1,8 @@
FROM golang:1.17-alpine
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@v1.9.1 && \
go install github.com/cosmtrek/air@v1.40.0 && \
go install github.com/cosmtrek/air@v1.40.4 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -18,9 +18,9 @@ RUN set -eux; \
deluser builder && \
rm -rf /home/builder /var/cache/distfiles /tmp/aports
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/cosmtrek/air@v1.40.4 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -1,8 +1,8 @@
FROM golang:1.18-alpine
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/cosmtrek/air@v1.40.4 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -18,9 +18,9 @@ RUN set -eux; \
deluser builder && \
rm -rf /home/builder /var/cache/distfiles /tmp/aports
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/cosmtrek/air@v1.41.0 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -1,8 +1,8 @@
FROM golang:1.19-alpine
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/cosmtrek/air@v1.41.0 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -18,9 +18,9 @@ RUN set -eux; \
deluser builder && \
rm -rf /home/builder /var/cache/distfiles /tmp/aports
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/cosmtrek/air@v1.44.0 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -1,8 +1,8 @@
FROM golang:1.20-alpine
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/cosmtrek/air@v1.44.0 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -18,9 +18,9 @@ RUN set -eux; \
deluser builder && \
rm -rf /home/builder /var/cache/distfiles /tmp/aports
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/cosmtrek/air@v1.49.0 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -1,8 +1,8 @@
FROM golang:1.21-alpine
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
go install github.com/go-delve/delve/cmd/dlv@latest && \
go install github.com/cosmtrek/air@latest && \
go install github.com/cosmtrek/air@v1.49.0 && \
go install github.com/jstemmer/go-junit-report@latest && \
go install github.com/axw/gocov/gocov@latest && \
go install gotest.tools/gotestsum@latest && \

View File

@ -18,7 +18,7 @@ RUN set -eux; \
deluser builder && \
rm -rf /home/builder /var/cache/distfiles /tmp/aports
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
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 && \

View File

@ -1,6 +1,6 @@
FROM golang:1.22-alpine
RUN set -eux; \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap && \
apk add --no-cache bash make git gcc libc-dev jq curl dumb-init mailcap tzdata && \
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 && \

View File

@ -8,7 +8,7 @@ A minimal Dockerfile based on Go 1.16, 1.17, 1.18, 1.19, 1.20, 1.21 and alpine w
## What's included
- Go 1.16 / 1.17 / 1.18 / 1.19 / 1.20 / 1.21
- Go 1.16 / 1.17 / 1.18 / 1.19 / 1.20 / 1.21 / 1.22
- images with patched musl to disable `faccessat2` syscall (workaround for CI systems with docker & seccomp filter bug, [see this](https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2))
- bash
- make