From bcacacce38a50099d198aea3c021515b40f4ff94 Mon Sep 17 00:00:00 2001 From: Stu Date: Sun, 2 Jun 2019 07:28:45 +0100 Subject: [PATCH] MAINTAINER replaced with LABEL maintainer --- CONTRIBUTORS.md | 1 + Dockerfile | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index cea96504..0ac10f0c 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -34,5 +34,6 @@ External contributors: * [@bestlong](https://github.com/bestlong/) (Yu-Lung Shao (Allen)) * [@jperville](https://github.com/jperville/) (Julien Pervillé) +* [@sajohnstone](https://github.com/sajohnstone/) (Stu Johnstone) ![Possibly You!](http://i.imgur.com/A3eScYul.jpg) \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 7343e0f5..fc92b27d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,11 @@ FROM centos:centos7 -MAINTAINER Sonatype +LABEL maintainer="Sonatype " LABEL vendor=Sonatype \ - com.sonatype.license="Apache License, Version 2.0" \ - com.sonatype.name="Nexus Repository Manager base image" + com.sonatype.license="Apache License, Version 2.0" \ + com.sonatype.name="Nexus Repository Manager base image" ARG NEXUS_VERSION=3.16.2-01 ARG NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz @@ -42,8 +42,8 @@ ADD solo.json.erb /var/chef/solo.json.erb RUN curl -L https://www.getchef.com/chef/install.sh | bash -s -- -v 14.12.9 \ && /opt/chef/embedded/bin/erb /var/chef/solo.json.erb > /var/chef/solo.json \ && chef-solo \ - --recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL} \ - --json-attributes /var/chef/solo.json \ + --recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL} \ + --json-attributes /var/chef/solo.json \ && rpm -qa *chef* | xargs rpm -e \ && rpm --rebuilddb \ && rm -rf /etc/chef \