Commit ce099ee1 authored by Matt Mastracci's avatar Matt Mastracci

Fix Dockerfile: install curl before nodesource setup script

parent 8d8b9e57
...@@ -46,10 +46,11 @@ RUN HOST_ARCH=$(dpkg --print-architecture) && \ ...@@ -46,10 +46,11 @@ RUN HOST_ARCH=$(dpkg --print-architecture) && \
# crossbuild-essential installs headers + libs in the multiarch layout # crossbuild-essential installs headers + libs in the multiarch layout
# that clang finds via --target. Both archs installed so the image # that clang finds via --target. Both archs installed so the image
# works on either host architecture. # works on either host architecture.
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates && \
apt-get update && apt-get install -y --no-install-recommends \ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y --no-install-recommends \
nodejs \ nodejs \
clang lld llvm pkg-config curl wget git ca-certificates xz-utils \ clang lld llvm pkg-config wget git xz-utils \
crossbuild-essential-amd64 crossbuild-essential-arm64 \ crossbuild-essential-amd64 crossbuild-essential-arm64 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment