aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChen <dstbtgagt@foxmail.com>2017-04-18 17:20:03 +0900
committerChen <dstbtgagt@foxmail.com>2017-04-20 16:50:05 +0900
commit8c463a47a9c988df70046f7d343af0441bf29f4d (patch)
tree7d8c02b341152be4b843df788af4b3c50e200f1b /tools
parentbf84c20e8f7b9eed03275ece9d492492e2c00c62 (diff)
downloadkolla-8c463a47a9c988df70046f7d343af0441bf29f4d.tar.gz
kolla-8c463a47a9c988df70046f7d343af0441bf29f4d.zip
Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2
Use LABEL instruction instead of MAINTAINER (deprecated) instruc- tion as suggested by Docker's official dockerfile guide. docs.docker.com/engine/reference/builder/#maintainer-deprecated Closes-Bug: #1683652 Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
Diffstat (limited to 'tools')
-rwxr-xr-xtools/validate-maintainer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/validate-maintainer.sh b/tools/validate-maintainer.sh
index 455abed10..c91cda776 100755
--- a/tools/validate-maintainer.sh
+++ b/tools/validate-maintainer.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-MAINTAINER='MAINTAINER {{ maintainer }}'
+MAINTAINER='LABEL maintainer="{{ maintainer }}"'
RES=0
for dockerfile in "$@"; do