MAINTAINER
field DOK-DL4000 1FROM python:2-slim
2MAINTAINER Niranjan Rajendran <[email protected]> 3
4
5ARG COMMIT_HASH
13# limitations under the License.
14
15FROM centos
16MAINTAINER Niranjan Rajendran <[email protected]>17RUN yum -y install /usr/bin/ps nfs-utils && yum clean all
18RUN mkdir -p /data
19ADD run_nfs.sh /usr/local/bin/
1FROM debian:jessie-slim
2MAINTAINER Niranjan Rajendran <[email protected]> 3
4RUN apt-get clean -y && apt-get update -y
5RUN apt-get install -y curl apt-transport-https
The MAINTAINER
instruction sets the Author
field of the generated images.
MAINTAINER
is deprecated since Docker 1.13.0.
In case you need similar functionality consider using a LABEL
.
The LABEL
instruction is a much more flexible version of MAINTAINER
,
as it enables setting any metadata you require, and can be viewed easily,
for example with docker inspect
.
FROM debian:buster
MAINTAINER John Doe <[email protected]>
FROM debian:buster
LABEL org.opencontainers.image.authors="[email protected]"
This will then be visible from docker inspect
with the other labels.