Files
patch-system-tools/docker-compose.yml
2025-11-18 10:38:19 +08:00

19 lines
647 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 基于alpine的docker镜像用于运行patch工具
# 镜像名称patch-tools-alpine
# 基础镜像alpine:3.18
# 安装依赖bash, tar, gzip, zip, diffutils, patch
# 复制脚本patch_config.sh, patch.sh
# 入口点:/bin/bash /patch.sh
services:
patch-tools:
image: ubuntu/squid:latest
container_name: patch-tools-alpine
volumes:
# 脚本目录,用于安装,挂载当前目录到容器的/working_dir/scripts目录下
- ./:/working_dir/scripts
# 新旧项目
- ../shop-projects/online-backend-src/ftp-src/:/working_dir/old-src
- ../shop-projects/backend/src:/working_dir/new-src