Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-09-02 23:11:05 +02:00
parent c1c414e4c9
commit 45c678ad26
82 changed files with 1298 additions and 103 deletions

View File

@ -1,6 +1,8 @@
# syntax=docker/dockerfile:1.3
FROM golang:1.16-alpine AS docsgen
ARG GO_VERSION=1.17.0
FROM golang:${GO_VERSION}-alpine AS docsgen
WORKDIR /src
RUN --mount=target=. \
--mount=target=/root/.cache,type=cache \

View File

@ -1,10 +1,12 @@
# syntax=docker/dockerfile:1.3
FROM golang:1.16-alpine
ARG GO_VERSION=1.17.0
FROM golang:${GO_VERSION}-alpine
RUN apk add --no-cache gcc musl-dev yamllint
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.36.0
WORKDIR /go/src/github.com/docker/buildx
RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \
golangci-lint run
RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \
yamllint -c .yamllint.yml --strict .
yamllint -c .yamllint.yml --strict .

View File

@ -1,6 +1,8 @@
# syntax=docker/dockerfile:1.3
FROM golang:1.16-alpine AS vendored
ARG GO_VERSION=1.17.0
FROM golang:${GO_VERSION}-alpine AS vendored
RUN apk add --no-cache git rsync
WORKDIR /src
RUN --mount=target=/context \