1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:20:05 +08:00

build(docker): switch to ubuntu img

This commit is contained in:
wsdjeg 2023-06-27 19:43:28 +08:00
parent f0e0ba1594
commit 304d702269

View File

@ -1,18 +1,18 @@
FROM debian:stable FROM ubuntu:latest
MAINTAINER Shidong Wang <wsdjeg@outlook.com> MAINTAINER Shidong Wang <wsdjeg@outlook.com>
RUN apt-get update && \ RUN apt update && \
apt-get install -y \ apt install -y \
neovim \ neovim \
curl \ curl \
python3 \ python3-dev \
python3-pip \ python3-pynvim \
lua5.3 \ lua5.3 \
git \ git \
exuberant-ctags \ universal-ctags \
silversearcher-ag && \ silversearcher-ag && \
apt-get clean apt clean
ENV HOME /home/spacevim ENV HOME /home/spacevim
@ -30,8 +30,6 @@ ENV PYTHON3_HOST_PROG "/usr/bin/python3"
RUN mkdir -p $HOME/.config $HOME/.SpaceVim.d RUN mkdir -p $HOME/.config $HOME/.SpaceVim.d
RUN pip install --user pynvim
RUN curl https://raw.githubusercontent.com/SpaceVim/SpaceVim/master/docker/init.toml > $HOME/.SpaceVim.d/init.toml RUN curl https://raw.githubusercontent.com/SpaceVim/SpaceVim/master/docker/init.toml > $HOME/.SpaceVim.d/init.toml
RUN curl -sLf https://spacevim.org/install.sh | bash RUN curl -sLf https://spacevim.org/install.sh | bash