-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
69 lines (54 loc) · 1.58 KB
/
Dockerfile
File metadata and controls
69 lines (54 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
FROM ubuntu:rolling
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata
RUN apt-get install -y \
git \
wget \
curl \
apt-utils \
tmux \
ruby \
mysql-server \
libmysqlclient-dev \
ruby-dev \
postgresql-contrib \
postgresql \
libpq5 \
libpq-dev \
ripgrep \
fd-find \
nodejs \
npm \
sudo \
neovim \
lastpass-cli
#Luan's nvim deps
RUN apt-get install -y \
golang
RUN gem install bundler
RUN service mysql start && \
mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';"
#Install Credhub CLI
RUN mkdir tmp -p && \
cd tmp && \
wget https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/2.9.0/credhub-linux-2.9.0.tgz && \
tar xf credhub*tgz && \
chmod +x credhub && \
mv credhub /usr/bin && \
cd .. && \
rm -rf tmp
#Install Bosh CLI
RUN wget https://github.com/cloudfoundry/bosh-cli/releases/download/v6.4.1/bosh-cli-6.4.1-linux-amd64 && \
mv bosh-cli-6.4.1-linux-amd64 /usr/bin/bosh && \
chmod +x /usr/bin/bosh
RUN useradd -rm -d /home/capi -s /bin/bash -g root -G sudo -u 1001 capi
USER capi
WORKDIR /home/capi
RUN git clone https://github.com/luan/nvim ~/.config/nvim
RUN nvim +UpdateRemotePlugins +qall && \
nvim +GoInstallBinaries +qall
# The command to update plugins keeps exiting 0 on docker build, even though it still installs the plugins, swallowing error for now
RUN nvim +'PlugInstall --sync' +qa; exit 0
RUN mkdir ~/workspace
RUN git clone
CMD sleep infinity: