mirror of
https://github.com/casjaysdevdocker/vim
synced 2025-01-18 12:34:25 -05:00
🗃️ modified: Dockerfile 🗃️
This commit is contained in:
parent
5e2accf77c
commit
345cf1bada
26
Dockerfile
26
Dockerfile
@ -1,31 +1,13 @@
|
|||||||
FROM alpine:edge as build
|
FROM casjaysdev/bash:latest as build
|
||||||
|
|
||||||
RUN apk --no-cache add --update \
|
RUN apk --no-cache add --update \
|
||||||
vim \
|
vim && \
|
||||||
bash \
|
mkdir -p /root/.vim/autoload /root/.vim/bundle
|
||||||
curl \
|
|
||||||
ca-certificates \
|
|
||||||
git \
|
|
||||||
tmux \
|
|
||||||
util-linux \
|
|
||||||
pciutils \
|
|
||||||
usbutils \
|
|
||||||
coreutils \
|
|
||||||
binutils \
|
|
||||||
findutils \
|
|
||||||
grep \
|
|
||||||
iproute2 && \
|
|
||||||
ln -sf /bin/bash /bin/sh && \
|
|
||||||
mkdir -p /root/.vim/autoload /root/.vim/bundle /root/.cache/resurrect
|
|
||||||
|
|
||||||
COPY ./config/resurrect/ /root/.cache/resurrect/
|
|
||||||
COPY ./config/tmux.conf /config/.tmux.conf
|
|
||||||
COPY ./config/bashrc /config/.bashrc
|
|
||||||
COPY ./config/vimrc /config/.vimrc
|
COPY ./config/vimrc /config/.vimrc
|
||||||
COPY ./bin/. /usr/local/bin/
|
COPY ./bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN /usr/local/bin/tmux-plugins \
|
RUN curl -q -LSsf -o ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim && \
|
||||||
curl -q -LSsf -o ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim && \
|
|
||||||
vim -u "/config/.vimrc" -c ":BundleInstall" +qall </dev/null &>/dev/null && \
|
vim -u "/config/.vimrc" -c ":BundleInstall" +qall </dev/null &>/dev/null && \
|
||||||
vim -u "/config/.vimrc" -c ":PluginInstall" +qall </dev/null &>/dev/null && \
|
vim -u "/config/.vimrc" -c ":PluginInstall" +qall </dev/null &>/dev/null && \
|
||||||
vim -u "/config/.vimrc" -c ":PluginClean" +qall </dev/null &>/dev/null
|
vim -u "/config/.vimrc" -c ":PluginClean" +qall </dev/null &>/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user