From 14f2859cde424c9b5198606515a6e3fe2e4c9a5b Mon Sep 17 00:00:00 2001 From: huangsen365 Date: Sun, 28 Jun 2020 00:38:14 +0800 Subject: [PATCH] The MAINTAINER instruction has been deprecated. Refer to https://docs.docker.com/engine/reference/builder/#maintainer-deprecated The MAINTAINER instruction has been deprecated, use The LABEL instruction instead. --- systemd/centos7/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/centos7/Dockerfile b/systemd/centos7/Dockerfile index 46aa748c..272722f4 100644 --- a/systemd/centos7/Dockerfile +++ b/systemd/centos7/Dockerfile @@ -1,7 +1,7 @@ FROM centos:7 ENV container docker -MAINTAINER The CentOS Project +LABEL maintainer="The CentOS Project " RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \ rm -f /lib/systemd/system/multi-user.target.wants/*;\