Skip to content

Commit

Permalink
Update the Dockerfile MAINTAINED instruction. (MicrosoftDocs#842)
Browse files Browse the repository at this point in the history
The MAINTAINED instruction is deprecated. It's preferred that you use the LABEL instruction to set a label for maintainer. This allows the information to be obtained via "docker inspect" and to be filtered using "-f".
  • Loading branch information
jamesche75 authored and scooley committed Sep 5, 2018
1 parent a287211 commit 0a482a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ In its most basic form, a Dockerfile can be very simple. The following example c
FROM microsoft/windowsservercore
# Metadata indicating an image maintainer.
MAINTAINER [email protected]
LABEL maintainer="[email protected]"
# Uses dism.exe to install the IIS role.
RUN dism.exe /online /enable-feature /all /featurename:iis-webserver /NoRestart
Expand Down

0 comments on commit 0a482a6

Please sign in to comment.