17 lines
554 B
YAML
17 lines
554 B
YAML
# TODO: 创建一个基于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
|
||
- ../patch-dir:/working_dir/patchs
|
||
- ../../ftp-src/app:/working_dir/old-shop-src
|
||
- ../../src/app:/working_dir/new-shop-src
|