From af5de9df6827896b6ff783a807c9192273e3ea62 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 11 May 2023 00:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index c07c54a..02e266c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,12 @@ ADD ./fonts/SourceHanSansCN-Regular.otf /usr/share/fonts/SourceHanSansCN-Regular RUN apt-get install -y nano net-tools ca-certificates +RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ + apt-get install -y nodejs && \ + curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null && \ + echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list && \ + apt-get update && apt-get install -y yarn + #RUN rm -rf /cartodb #RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && \