!79 支持一键部署

* update base image
* update README.md.
This commit is contained in:
inrgihc
2022-02-12 15:23:19 +00:00
parent 75ebd55495
commit f4ecb890ca
3 changed files with 11 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM inrgihc/maven-aliyun:3.6.3-jdk-8
FROM openjdk:8-jre-alpine
ADD dbswitch-release.tar.gz /
@@ -8,5 +8,5 @@ USER root
WORKDIR /dbswitch-release
CMD [ "/dbswitch-release/bin/startup.sh"]
CMD ["/dbswitch-release/bin/startup.sh"]

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
#
# Author : tang
# Date :2021-07-31