...

Text file src/github.com/docker/distribution/script/setup/install-dev-tools

Documentation: github.com/docker/distribution/script/setup

     1#!/usr/bin/env bash
     2
     3GOLANGCI_LINT_VERSION="v1.54.2"
     4
     5#
     6# Install developer tools to $GOBIN (or $GOPATH/bin if unset)
     7#
     8set -eu -o pipefail
     9
    10cd /tmp
    11go install github.com/LK4D4/vndr@latest
    12go install "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}"

View as plain text