diff --git a/docker/README.md b/docker/README.md index 2853f687f4..ff08c3e928 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,3 +1,3 @@ + DockerHub地址: https://hub.docker.com/r/meituaninc/cat + docker镜像打包 - + 进入项目根目录:docker build -f docker/Dockerfile cat:{tag} . + + 进入项目根目录:docker build -f docker/Dockerfile -t cat:{tag} . diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 11e7763ff5..94f0cd1fe2 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -29,7 +29,7 @@ services: - "./client.xml:/data/appdatas/cat/client.xml" # 默认使用环境变量设置。可以启用本注解,并修改为自己的配置 # - "./datasources.xml:/data/appdatas/cat/datasources.xml" - command: /bin/sh -c './datasources.sh && catalina.sh run' + command: /bin/sh -c 'ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2 && ./datasources.sh && catalina.sh run' links: - mysql depends_on: