Skip to content

Commit

Permalink
feat: add ARCH in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Feb 22, 2021
1 parent 0c89c63 commit 5fa030e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

FROM k8s.gcr.io/build-image/debian-base-${ARCH}:v2.1.3

# Copy nfsplugin from build _output directory
COPY bin/nfsplugin /nfsplugin
Expand Down

0 comments on commit 5fa030e

Please sign in to comment.