feat: add ARCH in Dockerfile

set default ARG value
This commit is contained in:
andyzhangx 2021-02-21 11:50:05 +00:00
parent 0c89c6348b
commit b894ed8a7e

View File

@ -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