feat: add ARCH in Dockerfile
set default ARG value
This commit is contained in:
parent
0c89c6348b
commit
b894ed8a7e
@ -12,7 +12,9 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# 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 nfsplugin from build _output directory
|
||||||
COPY bin/nfsplugin /nfsplugin
|
COPY bin/nfsplugin /nfsplugin
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user