mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
test images: Allows sample-apiserver to be built without a TTY
Currently, the image's postsubmit job fails because of the docker run -t in the image's Makefile. We don't need it in order to build the image. Logs: https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/post-kubernetes-push-e2e-sample-apiserver-test-images/1331076845436669952
This commit is contained in:
parent
81e82b8453
commit
64934518fd
@ -24,7 +24,7 @@ export
|
|||||||
# Get without building to populate module cache
|
# Get without building to populate module cache
|
||||||
# Then, get with OS/ARCH-specific env to build
|
# Then, get with OS/ARCH-specific env to build
|
||||||
bin:
|
bin:
|
||||||
docker run --rm -it -v "${TARGET}:${TARGET}:Z" k8s.gcr.io/build-image/kube-cross:v1.15.5-1 \
|
docker run --rm -i -v "${TARGET}:${TARGET}:Z" k8s.gcr.io/build-image/kube-cross:v1.15.5-1 \
|
||||||
/bin/bash -c "\
|
/bin/bash -c "\
|
||||||
mkdir -p /go/src /go/bin && \
|
mkdir -p /go/src /go/bin && \
|
||||||
GO111MODULE=on go get -d k8s.io/sample-apiserver@v0.17.0 && \
|
GO111MODULE=on go get -d k8s.io/sample-apiserver@v0.17.0 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user