From b894ed8a7ecedbdca8bd6bbcd88f90912eeb7ce2 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sun, 21 Feb 2021 11:50:05 +0000 Subject: [PATCH] feat: add ARCH in Dockerfile set default ARG value --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 341dc672..085f66b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3 +ARG ARCH=amd64 + +FROM k8s.gcr.io/build-image/debian-base-${ARCH}:v2.1.3 # Copy nfsplugin from build _output directory COPY bin/nfsplugin /nfsplugin