+3
-8
@@ -2,14 +2,9 @@ FROM danger89/cmake:latest
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install -y ca-certificates curl gnupg \
|
||||
&& mkdir -p /etc/apt/keyrings \
|
||||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://nodesource.com/node_20.x nodistro main" | tee /etc/apt/apt/sources.list.d/nodesource.list \
|
||||
&& apt-get update && apt-get install -y \
|
||||
nodejs \
|
||||
jq \
|
||||
git \
|
||||
RUN apt-get update && apt-get install -y curl gnupg jq git \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||
&& apt-get install -y nodejs \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user