+3
-8
@@ -2,14 +2,9 @@ FROM danger89/cmake:latest
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y ca-certificates curl gnupg \
|
RUN apt-get update && apt-get install -y curl gnupg jq git \
|
||||||
&& mkdir -p /etc/apt/keyrings \
|
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
&& apt-get install -y nodejs \
|
||||||
&& 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 \
|
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user