mirror of
https://github.com/Neur0toxine/docker-golang-alpine.git
synced 2024-11-25 06:26:06 +03:00
add tzdata & fix build and readme
This commit is contained in:
commit
e781499267
@ -1,6 +1,6 @@
|
|||||||
FROM golang:1.16-alpine3.13
|
FROM golang:1.16-alpine3.13
|
||||||
RUN set -eux; \
|
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/go-delve/delve/cmd/dlv@v1.9.0 && \
|
||||||
go install github.com/cosmtrek/air@v1.27.8 && \
|
go install github.com/cosmtrek/air@v1.27.8 && \
|
||||||
go install github.com/jstemmer/go-junit-report@latest && \
|
go install github.com/jstemmer/go-junit-report@latest && \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM golang:1.16-alpine
|
FROM golang:1.16-alpine
|
||||||
RUN set -eux; \
|
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/go-delve/delve/cmd/dlv@v1.9.0 && \
|
||||||
go install github.com/cosmtrek/air@v1.27.8 && \
|
go install github.com/cosmtrek/air@v1.27.8 && \
|
||||||
go install github.com/jstemmer/go-junit-report@latest && \
|
go install github.com/jstemmer/go-junit-report@latest && \
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
FROM golang:1.17-alpine3.13
|
FROM golang:1.17-alpine3.13
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
FROM golang:1.17-alpine
|
FROM golang:1.17-alpine
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -18,9 +18,9 @@ RUN set -eux; \
|
|||||||
deluser builder && \
|
deluser builder && \
|
||||||
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
FROM golang:1.18-alpine
|
FROM golang:1.18-alpine
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -18,9 +18,9 @@ RUN set -eux; \
|
|||||||
deluser builder && \
|
deluser builder && \
|
||||||
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
FROM golang:1.19-alpine
|
FROM golang:1.19-alpine
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -18,9 +18,9 @@ RUN set -eux; \
|
|||||||
deluser builder && \
|
deluser builder && \
|
||||||
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
FROM golang:1.20-alpine
|
FROM golang:1.20-alpine
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -18,9 +18,9 @@ RUN set -eux; \
|
|||||||
deluser builder && \
|
deluser builder && \
|
||||||
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
FROM golang:1.21-alpine
|
FROM golang:1.21-alpine
|
||||||
RUN set -eux; \
|
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/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/jstemmer/go-junit-report@latest && \
|
||||||
go install github.com/axw/gocov/gocov@latest && \
|
go install github.com/axw/gocov/gocov@latest && \
|
||||||
go install gotest.tools/gotestsum@latest && \
|
go install gotest.tools/gotestsum@latest && \
|
||||||
|
@ -18,7 +18,7 @@ RUN set -eux; \
|
|||||||
deluser builder && \
|
deluser builder && \
|
||||||
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
rm -rf /home/builder /var/cache/distfiles /tmp/aports
|
||||||
RUN set -eux; \
|
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/go-delve/delve/cmd/dlv@latest && \
|
||||||
go install github.com/cosmtrek/air@latest && \
|
go install github.com/cosmtrek/air@latest && \
|
||||||
go install github.com/jstemmer/go-junit-report@latest && \
|
go install github.com/jstemmer/go-junit-report@latest && \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM golang:1.22-alpine
|
FROM golang:1.22-alpine
|
||||||
RUN set -eux; \
|
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/go-delve/delve/cmd/dlv@latest && \
|
||||||
go install github.com/cosmtrek/air@latest && \
|
go install github.com/cosmtrek/air@latest && \
|
||||||
go install github.com/jstemmer/go-junit-report@latest && \
|
go install github.com/jstemmer/go-junit-report@latest && \
|
||||||
|
@ -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
|
## 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))
|
- 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
|
- bash
|
||||||
- make
|
- make
|
||||||
|
Loading…
Reference in New Issue
Block a user