mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
add mc
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
9dbc7ff7e0
commit
93d2351ce0
|
@ -109,6 +109,7 @@ irssi/irssi
|
|||
cryptodotis/irssi-otr
|
||||
keepassxreboot/keepassxc
|
||||
robertdavidgraham/masscan
|
||||
MidnightCommander/mc
|
||||
zyedidia/micro
|
||||
nzbget/nzbget
|
||||
bitly/oauth2_proxy
|
||||
|
|
53
mc/Dockerfile
Normal file
53
mc/Dockerfile
Normal file
|
@ -0,0 +1,53 @@
|
|||
FROM alpine:latest
|
||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
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" ]
|
Loading…
Reference in New Issue
Block a user