feat(dsl)!: support other JS runtimes

This commit is contained in:
ObserverOfTime 2024-05-24 23:53:33 +03:00 committed by GitHub
parent d77279d2e3
commit 055d0cbd34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 72 additions and 31 deletions

View file

@ -101,9 +101,9 @@ jobs:
echo "image = \"$image\"" >> Cross.toml
echo "CROSS_CONFIG=$PWD/Cross.toml" >> $GITHUB_ENV
echo "FROM ghcr.io/cross-rs/$target:edge" >> Dockerfile
echo "ENV DEBIAN_FRONTEND=noninteractive" >> Dockerfile
echo "RUN apt-get update && apt-get install -y nodejs" >> Dockerfile
echo "FROM ghcr.io/cross-rs/$target:edge" >> Dockerfile
echo "RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -" >> Dockerfile
echo "RUN apt-get update && apt-get -y install nodejs" >> Dockerfile
docker build -t $image .
- name: Setup env extras