add(builder): add linux debian & alpine test

This commit is contained in:
cnphpbb 2025-01-26 04:54:29 +08:00
parent 79f84a7285
commit 9b27f65f66
5 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,8 @@
services:
test:
image: ${IMAGE_TAG}
container_name: "alpine-test"
restart: unless-stopped
tty: true
command: ash

1
builder/alpine/env.cnf Normal file
View File

@ -0,0 +1 @@
IMAGE_TAG=alpine:3

View File

@ -0,0 +1,9 @@
services:
test:
image: ${IMAGE_TAG}
container_name: "debian-test"
restart: unless-stopped
tty: true
command: bash

1
builder/debian/env.cnf Normal file
View File

@ -0,0 +1 @@
IMAGE_TAG=debian:12

View File

@ -1,5 +1,5 @@
# path:: mkdir -pv /data/volumes/memos/data # path:: mkdir -pv /data/volumes/mygits
# run:: docker compose -p memos --env-file ./memos/env.cfg -f ./memos/prod.stack.yml up -d # run:: docker compose -p memos --env-file ./builder/golang/env.cnf -f ./builder/golang/compose.yml up -d
services: services: