feat: dev container use node-alpine image
This commit is contained in:
parent
e683866054
commit
851b3fba1d
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ version: "3"
|
|||
|
||||
services:
|
||||
web:
|
||||
image: docker.io/node:21-slim
|
||||
image: docker.io/node:21-alpine
|
||||
container_name: firefish_web
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
|
@ -35,7 +35,7 @@ services:
|
|||
|
||||
db:
|
||||
restart: unless-stopped
|
||||
image: docker.io/groonga/pgroonga:latest-alpine-15-slim
|
||||
image: docker.io/groonga/pgroonga:latest-alpine-16-slim
|
||||
container_name: firefish_db
|
||||
networks:
|
||||
- firefishnet
|
||||
|
|
|
@ -7,8 +7,8 @@ node --version
|
|||
if [ ! -f '/.firefish_env_initialized' ]; then
|
||||
|
||||
# Install compilation dependencies
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND='noninteractive' apt-get install -y --no-install-recommends curl build-essential ca-certificates python3 postgresql-client-15 git
|
||||
apk update
|
||||
apk add --no-cache build-base linux-headers curl ca-certificates python3 git postgresql16-client zip unzip ffmpeg
|
||||
curl -vvv --proto '=https' --tlsv1.2 --show-error --fail https://sh.rustup.rs | sh -s -- -y
|
||||
|
||||
# Add Cargo PATH
|
||||
|
|
Loading…
Reference in a new issue