node:latest
This commit is contained in:
parent
bf6fee36c0
commit
2321c5e53a
1 changed files with 1 additions and 6 deletions
|
|
@ -20,15 +20,10 @@ jobs:
|
||||||
# Use a more suitable base image for package management and common tools.
|
# Use a more suitable base image for package management and common tools.
|
||||||
# Debian is often a good balance between size and available packages.
|
# Debian is often a good balance between size and available packages.
|
||||||
# You're using `apk` (Alpine Linux package manager) in an Ubuntu container, which will fail.
|
# You're using `apk` (Alpine Linux package manager) in an Ubuntu container, which will fail.
|
||||||
image: debian:stable-slim # or debian:bookworm-slim, or even a specific Node.js image if you mainly need Node.js
|
image: node:latest # or debian:bookworm-slim, or even a specific Node.js image if you mainly need Node.js
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
steps:
|
steps:
|
||||||
- name: Install build dependencies (apt)
|
|
||||||
run: |
|
|
||||||
# Use apt for Debian/Ubuntu based images
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y nodejs npm git bash ca-certificates curl
|
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue