-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
55 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,6 @@ M.config = function() | |
'embedded_template', | ||
'go', | ||
'hcl', | ||
'help', | ||
'hjson', | ||
'html', | ||
'http', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
FROM ubuntu:bionic | ||
FROM ubuntu:kinetic | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV DEBIAN_PRIORITY=critical | ||
|
||
RUN apt update && apt install -y gnupg2 git curl python3 python3-pip wget libfuse2 software-properties-common ripgrep | ||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
git \ | ||
gnupg2 \ | ||
libfuse2 \ | ||
python3 \ | ||
python3-pip \ | ||
software-properties-common \ | ||
wget \ | ||
zip | ||
|
||
# Install RipGrep | ||
RUN curl -LO https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep_13.0.0_amd64.deb \ | ||
&& dpkg -i ripgrep_13.0.0_amd64.deb | ||
|
||
# Install neovim nightly | ||
RUN add-apt-repository -y ppa:neovim-ppa/unstable \ | ||
&& apt-get update \ | ||
&& apt-get install -y neovim | ||
RUN wget https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz && \ | ||
tar xzf nvim-linux64.tar.gz && \ | ||
ln -s ${PWD}/nvim-linux64/bin/nvim /usr/local/bin/nvim | ||
|
||
# Yarn and nodejs | ||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ | ||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ | ||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | ||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \ | ||
apt-get install -y nodejs && \ | ||
npm install -g yarn neovim | ||
|
||
RUN apt update && \ | ||
apt install -y yarn rubygems && \ | ||
apt-get clean autoclean && \ | ||
apt-get autoremove --yes && \ | ||
rm -rf /var/lib/{apt,dpkg,cache,log}/ | ||
# RUN python3 -m pip install pynvim neovim && npm install -g neovim | ||
|
||
RUN python3 -m pip install pynvim neovim && npm install -g neovim | ||
|
||
WORKDIR /root | ||
|
||
# add alias | ||
RUN echo 'alias vim="nvim"' >> ~/.bashrc | ||
# Install Java Corretto | ||
RUN wget -O- https://apt.corretto.aws/corretto.key | apt-key add - && \ | ||
add-apt-repository 'deb https://apt.corretto.aws stable main' && \ | ||
apt-get update && apt-get install -y java-17-amazon-corretto-jdk | ||
|
||
COPY ./.config/nvim /root/.config/nvim | ||
RUN nvim --headless "+Lazy! sync" +qa | ||
# Run this step always without cache | ||
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache | ||
RUN git clone https://github.com/mosheavni/dotfiles.git && \ | ||
gem install effuse && \ | ||
cd dotfiles && \ | ||
git checkout fix-dockerfile \ | ||
&& effuse | ||
# ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache | ||
# RUN git clone https://github.com/mosheavni/dotfiles.git && \ | ||
# gem install effuse && \ | ||
# cd dotfiles && \ | ||
# git checkout fix-dockerfile \ | ||
# && effuse | ||
|
||
# Set locale | ||
ENV LANG=en_US LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 | ||
|
||
# RUN nvim --headless +CocInstallAll +qall | ||
# join(get(g:, 'coc_global_extensions', [])) | ||
|
||
CMD [ "nvim" ] | ||
# ENV LANG=en_US LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 |