Merge pull request #166 from andyzhangx/add-arch

feat: add ARCH in Dockerfile
This commit is contained in:
Andy Zhang 2021-02-22 21:36:04 +08:00 committed by GitHub
commit c4765d1faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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