emacs-25.3-nox

26.1-7.fc30.x86_64 : GNU Emacs text editor without X support

Fedora
RUN dnf install -y emacs-nox-1
click the source code to copy install emacs-25.3-nox on any operating system with command-not-found.com