Change:
<!-- This form is for bug reports and feature requests ONLY! If you're looking for help check and the . --Is this a BUG REPORT or FEATURE REQUEST?: /kind feature This issue is for creating image as multiarch
/assign
There are no sig labels on this issue. Please by: a sig: e.g., to notify the contributor experience sig, OR the label manually: e.g., to apply the label Note: Method 1 will trigger an email to the group. You can find the group list and label list . The in the method 1 has to be replaced with one of these: bugs, feature-requests, pr-reviews, test-failures, proposals
/sig testing

Discussion:
"//test/images/nettest:all-srcs", "//test/images/no-snat-test:all-srcs", "//test/images/no-snat-test-proxy:all-srcs", <ins> "//test/images/nonewprivs:all-srcs", </ins> "//test/images/port-forward-tester:all-srcs", "//test/images/porter:all-srcs", "//test/images/resource-consumer:all-srcs",

<ins> amd64=alpine:3.6 arm=arm32v6/alpine:3.6 arm64=arm64v8/alpine:3.6 ppc64le=ppc64le/alpine:3.6 </ins>

<ins> package(default_visibility = ["//visibility:public"]) licenses(["notice"]) load( "@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", ) go_binary( name = "nonewprivs", library = ":go_default_library", tags = ["automanaged"], ) go_library( name = "go_default_library", srcs = ["nnp.go"], tags = ["automanaged"], ) filegroup( name = "package-srcs", srcs = glob(["**"]), tags = ["automanaged"], visibility = ["//visibility:private"], ) filegroup( name = "all-srcs", srcs = [":package-srcs"], tags = ["automanaged"], ) </ins>

# See the License for the specific language governing permissions and # limitations under the License. <del> FROM alpine:latest </del> <ins> FROM BASEIMAGE CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/ </ins> COPY nnp /usr/local/bin/nnp RUN chmod +s /usr/local/bin/nnp

# See the License for the specific language governing permissions and # limitations under the License. <del> .PHONY: all image push clean </del> <ins> SRCS = nnp ARCH ?= amd64 TARGET ?= $(CURDIR) GOLANG_VERSION ?= latest SRC_DIR = $(notdir $(shell pwd)) export </ins> <del> TAG = 1.2 PREFIX = gcr.io/google_containers </del> <ins> bin: ../image-util.sh bin $(SRCS) </ins> <del> all: push nnp: nnp.c gcc -static -o $@ $@.c image: nnp docker build --pull -t $(PREFIX)/nonewprivs:$(TAG) . push: image gcloud docker -- push $(PREFIX)/nonewprivs:$(TAG) clean: rm -f nnp </del> <ins> .PHONY: bin </ins>

<del> // Copyright 2017 The Kubernetes Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // //     http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main(int argc, char *argv[]){ printf("Effective uid: %dn", geteuid()); return 0; } </del>

<ins> /* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package main import ( "fmt" "os" ) func main() { fmt.Printf("Effective uid: %dn", os.Geteuid()) } </ins>