Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
nodesource moment
  • Loading branch information
beni69 committed Sep 15, 2023
1 parent fad7d36 commit 199cde1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/cross.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ ARG CROSS_BASE_IMAGE
FROM $CROSS_BASE_IMAGE

ARG CROSS_DEB_ARCH
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
RUN apt update && \
apt 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 && \
NODE_MAJOR=18 && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
dpkg --add-architecture ${CROSS_DEB_ARCH} && \
apt update && \
apt install -y nodejs libasound2-dev:${CROSS_DEB_ARCH} && \
Expand Down

0 comments on commit 199cde1

Please sign in to comment.