Temporarily fix neovim#8056
parent
6717e7507b
commit
2bd732eb07
|
@ -27,5 +27,6 @@ tar -C /usr/local -xzf go.tgz
|
|||
rm go.tgz
|
||||
cd /usr/local/go/src
|
||||
./make.bash
|
||||
|
||||
apk del .build-deps
|
||||
|
||||
|
|
|
@ -4,55 +4,31 @@ set -e
|
|||
source ./.versions
|
||||
|
||||
echo
|
||||
echo "Installing neovim..."
|
||||
echo "Installing neovim $NEOVIM_VERSION..."
|
||||
echo
|
||||
|
||||
apk add --no-cache --virtual .build-deps \
|
||||
git \
|
||||
alpine-sdk build-base \
|
||||
libtool \
|
||||
automake \
|
||||
m4 \
|
||||
autoconf \
|
||||
linux-headers \
|
||||
unzip \
|
||||
ncurses ncurses-dev ncurses-libs ncurses-terminfo \
|
||||
python3 \
|
||||
python3-dev \
|
||||
clang \
|
||||
go \
|
||||
xz \
|
||||
curl \
|
||||
make \
|
||||
cmake
|
||||
|
||||
git clone https://github.com/neovim/libtermkey.git
|
||||
cd libtermkey
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
rm -rf libtermkey
|
||||
|
||||
git clone https://github.com/neovim/libvterm.git
|
||||
cd libvterm
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
rm -rf libvterm
|
||||
|
||||
git clone https://github.com/neovim/unibilium.git
|
||||
cd unibilium
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
rm -rf unibilium
|
||||
git \
|
||||
unzip \
|
||||
build-base \
|
||||
autoconf \
|
||||
automake \
|
||||
cmake \
|
||||
libtool \
|
||||
unibilium-dev
|
||||
|
||||
git clone https://github.com/neovim/neovim.git
|
||||
cd neovim
|
||||
git checkout v$NEOVIM_VERSION
|
||||
|
||||
# temp fix for #8056 until next release
|
||||
sed -i 's/https://raw.githubusercontent.com/mpeterv/luacheck/master/luacheck-scm-1.rockspec/https://luarocks.org/manifests/mpeterv/luacheck-0.21.2-1.rockspec/g' third-party/cmake/BuildLuarocks.cmake
|
||||
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
rm -rf nvim
|
||||
rm -rf neovim
|
||||
|
||||
pip3 install neovim
|
||||
|
||||
|
|
|
@ -78,5 +78,6 @@ tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/
|
|||
ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn
|
||||
ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg
|
||||
rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz
|
||||
|
||||
apk del .build-deps-yarn
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
source ./.versions
|
||||
|
||||
echo
|
||||
echo "Installing pure-prompt for ZSH..."
|
||||
echo
|
||||
|
||||
yarn global add pure-prompt
|
2
.zshrc
2
.zshrc
|
@ -3,7 +3,7 @@
|
|||
setopt appendhistory
|
||||
setopt autocd
|
||||
setopt extendedglob
|
||||
export TERM=xterm256-color
|
||||
export TERM=xterm-256color
|
||||
|
||||
# golang
|
||||
export PATH="$(go env GOPATH)/bin:$PATH"
|
||||
|
|
|
@ -16,7 +16,7 @@ RUN ./.install/neovim.sh
|
|||
RUN ./.install/golang.sh
|
||||
RUN ./.install/node.sh
|
||||
RUN ./.install/python.sh
|
||||
# setup global PATH
|
||||
# setup global PATH for system programs
|
||||
ENV PATH=/usr/local/go/bin:$PATH
|
||||
|
||||
# create user
|
||||
|
|
Loading…
Reference in New Issue