Created
May 14, 2019 04:29
-
-
Save alexeldeib/33f63d719fd163b78d811857f34bc90f to your computer and use it in GitHub Desktop.
Dockerifle for controller-tools/controller-runtime/kubebuilder prow tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM gcr.io/k8s-testimages/kubekins-e2e:v20190420-93fab49-master | |
RUN go get -u gopkg.in/alecthomas/gometalinter.v2 && gometalinter.v2 --install | |
RUN go get -u github.com/golang/dep/cmd/dep | |
RUN GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.16.0 | |
RUN os=debian \ | |
&& dist=stretch \ | |
&& gpg_key_url="https://packagecloud.io/github/git-lfs/gpgkey" \ | |
&& apt_source_path="/etc/apt/sources.list.d/github_git-lfs.list" \ | |
&& echo 'deb https://packagecloud.io/github/git-lfs/debian/ stretch main\n \ | |
deb-src https://packagecloud.io/github/git-lfs/debian/ stretch main\n' >> $apt_source_path \ | |
&& curl -L "${gpg_key_url}" | apt-key add - \ | |
&& apt update \ | |
&& apt install git-lfs \ | |
&& git lfs install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment