You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
476 B
Docker
13 lines
476 B
Docker
# syntax=docker/dockerfile:1.0-experimental
|
|
|
|
FROM golang:1.13-alpine
|
|
RUN apk add --no-cache git yamllint
|
|
RUN go get -u gopkg.in/alecthomas/gometalinter.v1 \
|
|
&& mv /go/bin/gometalinter.v1 /go/bin/gometalinter \
|
|
&& gometalinter --install
|
|
WORKDIR /go/src/github.com/docker/buildx
|
|
RUN --mount=target=/go/src/github.com/docker/buildx \
|
|
gometalinter --config=gometalinter.json ./...
|
|
RUN --mount=target=/go/src/github.com/docker/buildx \
|
|
yamllint -c .yamllint.yml --strict .
|