更新 'Dockerfile'
This commit is contained in:
parent
af5de9df68
commit
99f227b547
10
Dockerfile
10
Dockerfile
@ -18,11 +18,11 @@ ADD ./fonts/SourceHanSansCN-Regular.otf /usr/share/fonts/SourceHanSansCN-Regular
|
|||||||
|
|
||||||
RUN apt-get install -y nano net-tools ca-certificates
|
RUN apt-get install -y nano net-tools ca-certificates
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
#RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
apt-get install -y nodejs && \
|
# apt-get install -y nodejs && \
|
||||||
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null && \
|
# 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 && \
|
# 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
|
# apt-get update && apt-get install -y yarn
|
||||||
|
|
||||||
#RUN rm -rf /cartodb
|
#RUN rm -rf /cartodb
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user