mirror of
https://github.com/containers/skopeo.git
synced 2025-07-03 09:56:57 +00:00
fix golint
Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
parent
fc386a6dca
commit
501e1be3cf
@ -42,7 +42,7 @@ RUN set -x \
|
|||||||
|
|
||||||
ENV GOPATH /usr/share/gocode:/go
|
ENV GOPATH /usr/share/gocode:/go
|
||||||
ENV PATH $GOPATH/bin:/usr/share/gocode/bin:$PATH
|
ENV PATH $GOPATH/bin:/usr/share/gocode/bin:$PATH
|
||||||
RUN go get github.com/golang/lint/golint
|
RUN go get golang.org/x/lint/golint
|
||||||
WORKDIR /go/src/github.com/containers/skopeo
|
WORKDIR /go/src/github.com/containers/skopeo
|
||||||
COPY . /go/src/github.com/containers/skopeo
|
COPY . /go/src/github.com/containers/skopeo
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ _containers="${GOPATH}/src/github.com/containers"
|
|||||||
mkdir -vp ${_containers}
|
mkdir -vp ${_containers}
|
||||||
ln -vsf $(pwd) ${_containers}/skopeo
|
ln -vsf $(pwd) ${_containers}/skopeo
|
||||||
|
|
||||||
go get -u github.com/cpuguy83/go-md2man github.com/golang/lint/golint
|
go get -u github.com/cpuguy83/go-md2man golang.org/x/lint/golint
|
||||||
|
|
||||||
cd ${_containers}/skopeo
|
cd ${_containers}/skopeo
|
||||||
make validate-local test-unit-local binary-local
|
make validate-local test-unit-local binary-local
|
||||||
|
Loading…
Reference in New Issue
Block a user