mirror of
https://github.com/AliyunContainerService/maven-image.git
synced 2026-04-04 22:59:04 +08:00
Update README.md
This commit is contained in:
@@ -6,7 +6,9 @@ This image is built from official Maven Docker image with [Aliyun Mirror](http:/
|
||||
|
||||
For many simple projects, you may find it inconvenient to write a complete Dockerfile. In such cases, you can run a Maven project by using the Maven Docker image directly, passing a Maven command to docker run:
|
||||
|
||||
```
|
||||
docker run -it --rm --name my-maven-project -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven registry.cn-hangzhou.aliyuncs.com/acs/maven mvn clean install
|
||||
```
|
||||
|
||||
### More usages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user