mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-25 19:25:27 +00:00
Fix and update
This commit is contained in:
@@ -74,6 +74,7 @@ RUN apt-get update && apt-get install -y \
|
||||
|
||||
```docker
|
||||
## Set one or more individual labels
|
||||
|
||||
LABEL com.example.version="0.0.1-beta"
|
||||
|
||||
LABEL vendor="ACME Incorporated"
|
||||
@@ -87,6 +88,7 @@ LABEL com.example.version.is-production=""
|
||||
|
||||
```docker
|
||||
## Set multiple labels at once, using line-continuation characters to break long lines
|
||||
|
||||
LABEL vendor=ACME\ Incorporated \
|
||||
com.example.is-beta= \
|
||||
com.example.is-production="" \
|
||||
|
||||
Reference in New Issue
Block a user