Files
dbswitch/docker-maven-build.sh
2024-07-23 22:28:50 +08:00

10 lines
240 B
Bash

#!/bin/sh
docker run -it --rm \
--name my-maven-project \
-v ~/.m2:/opt/maven/localRepository \
-v "$PWD":/usr/src/mymaven \
-w /usr/src/mymaven \
registry.cn-hangzhou.aliyuncs.com/inrgihc/maven-aliyun:3.6.3-jdk-8 mvn clean package