From 93d2351ce048d365c4c4608e5a09a832633d2596 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 18 Jul 2018 15:45:32 -0400 Subject: [PATCH] add mc Signed-off-by: Jess Frazelle --- latest-versions.sh | 1 + mc/Dockerfile | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 mc/Dockerfile diff --git a/latest-versions.sh b/latest-versions.sh index 61a6e5d..ed78c3a 100755 --- a/latest-versions.sh +++ b/latest-versions.sh @@ -109,6 +109,7 @@ irssi/irssi cryptodotis/irssi-otr keepassxreboot/keepassxc robertdavidgraham/masscan +MidnightCommander/mc zyedidia/micro nzbget/nzbget bitly/oauth2_proxy diff --git a/mc/Dockerfile b/mc/Dockerfile new file mode 100644 index 0000000..1f4b1b0 --- /dev/null +++ b/mc/Dockerfile @@ -0,0 +1,53 @@ +FROM alpine:latest +LABEL maintainer "Jessie Frazelle " + +RUN apk add --no-cache \ + glib \ + libintl \ + libssh2 \ + ncurses-libs + +ENV MC_VERSION 4.8.21 + +RUN set -x \ + && apk add --no-cache --virtual .build-deps \ + autoconf \ + automake \ + build-base \ + aspell-dev \ + e2fsprogs-dev \ + gettext-dev \ + git \ + glib-dev \ + libssh2-dev \ + libtool \ + ncurses-dev \ + pcre-dev \ + && git clone --depth 1 --branch "$MC_VERSION" https://github.com/MidnightCommander/mc.git /usr/src/mc \ + && ( \ + cd /usr/src/mc \ + && ./autogen.sh \ + && ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --enable-background \ + --enable-charset \ + --enable-largefile \ + --enable-vfs-sftp \ + --with-internal-edit \ + --with-mmap \ + --with-screen=ncurses \ + --with-subshell \ + --without-gpm-mouse \ + --without-included-gettext \ + --without-x \ + --enable-aspell \ + && make \ + && make install \ + ) \ + && rm -rf /usr/src/mc \ + && apk del .build-deps + +ENTRYPOINT [ "mc" ]