mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 03:21:28 +01:00
add theme
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
7d875c2d60
commit
325d8a9ad2
|
@ -7,14 +7,23 @@ RUN apk add --no-cache \
|
||||||
libssh2 \
|
libssh2 \
|
||||||
ncurses-libs
|
ncurses-libs
|
||||||
|
|
||||||
|
ENV TERM xterm
|
||||||
|
|
||||||
|
# Create user and change ownership
|
||||||
|
RUN addgroup -g 1001 -S mc \
|
||||||
|
&& adduser -u 1001 -SHG mc mc \
|
||||||
|
&& mkdir -p /home/mc/.mc
|
||||||
|
|
||||||
ENV MC_VERSION 4.8.21
|
ENV MC_VERSION 4.8.21
|
||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
|
aspell-dev \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
build-base \
|
build-base \
|
||||||
aspell-dev \
|
ca-certificates \
|
||||||
|
curl \
|
||||||
e2fsprogs-dev \
|
e2fsprogs-dev \
|
||||||
gettext-dev \
|
gettext-dev \
|
||||||
git \
|
git \
|
||||||
|
@ -47,7 +56,15 @@ RUN set -x \
|
||||||
&& make \
|
&& make \
|
||||||
&& make install \
|
&& make install \
|
||||||
) \
|
) \
|
||||||
|
&& curl -sSL "https://raw.githubusercontent.com/nkulikov/mc-solarized-skin/master/solarized.ini" > /home/mc/.mc/solarized.ini \
|
||||||
&& rm -rf /usr/src/mc \
|
&& rm -rf /usr/src/mc \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps \
|
||||||
|
&& chown -R mc:mc /home/mc
|
||||||
|
|
||||||
|
ENV HOME=/home/mc
|
||||||
|
|
||||||
|
ENV MC_SKIN=${HOME}/.mc/solarized.ini
|
||||||
|
|
||||||
|
WORKDIR ${HOME}
|
||||||
|
|
||||||
ENTRYPOINT [ "mc" ]
|
ENTRYPOINT [ "mc" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user