FROM registry.fedoraproject.org/fedora:26 ENV NAME=emacs VERSION=0 RELEASE=1 ARCH=x86_64 RUN dnf install emacs -y && dnf clean all LABEL com.redhat.component="emacs" \ name="$FGC/$NAME" \ version="$VERSION" \ release="$RELEASE.$DISTTAG" \ maintainer="Stanislav Ochotnicky " \ architecture="$ARCH" \ summary="This Emacs container provides basic emacs editor" \ usage="docker run -v /:/edit -it $FGC/$NAME" \ url="https://www.gnu.org/software/emacs/" COPY README.md / ENTRYPOINT ["/usr/bin/emacs"]