From 4da167b5242b79c609e1e92e9e05f00ba325c284 Mon Sep 17 00:00:00 2001 From: pawan-mehta-dt <117346502+pawan-mehta-dt@users.noreply.github.com> Date: Wed, 22 Feb 2023 17:29:14 +0530 Subject: [PATCH] Updated dockerfile for multi-arch support --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d013d2dd..117e794c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node ENV TINI_VERSION v0.18.0 -ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini +RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && echo $arch && wget https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${arch} -O /tini RUN chmod +x /tini ENTRYPOINT ["/tini", "--"]