mirror of https://github.com/docker/compose.git
Fix lint make target
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
3324429320
commit
3bf555cbd6
|
@ -34,7 +34,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
|
||||||
|
|
||||||
FROM base AS lint
|
FROM base AS lint
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
COPY --from=lint-base /usr/bin/golangci-lint /usr/bin/golangci-lint
|
COPY --from=golangci/golangci-lint /usr/bin/golangci-lint /usr/bin/golangci-lint
|
||||||
ARG BUILD_TAGS
|
ARG BUILD_TAGS
|
||||||
ARG GIT_TAG
|
ARG GIT_TAG
|
||||||
RUN --mount=target=. \
|
RUN --mount=target=. \
|
||||||
|
|
|
@ -44,6 +44,7 @@ import (
|
||||||
// Command defines a compose CLI command as a func with args
|
// Command defines a compose CLI command as a func with args
|
||||||
type Command func(context.Context, []string) error
|
type Command func(context.Context, []string) error
|
||||||
|
|
||||||
|
// CobraCommand defines a cobra command function
|
||||||
type CobraCommand func(context.Context, *cobra.Command, []string) error
|
type CobraCommand func(context.Context, *cobra.Command, []string) error
|
||||||
|
|
||||||
// AdaptCmd adapt a CobraCommand func to cobra library
|
// AdaptCmd adapt a CobraCommand func to cobra library
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
//go:build !windows
|
||||||
// +build !windows
|
// +build !windows
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue