-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (38 loc) · 884 Bytes
/
Dockerfile
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
FROM alpine:edge
LABEL maintainer="David Anguita <[email protected]>" version="1.1"
ENV LANG=C.UTF-8
ENV DOTFILES=/dotfiles
ENV WORKSPACE=/workspace
ENV SHELL=/bin/zsh
ENV EDITOR=nvim
RUN apk add --update --no-cache \
tzdata \
curl \
git \
ncurses \
tig \
jq \
zsh \
tmux \
ctags \
ruby \
ruby-rake \
ruby-json \
ruby-rdoc \
ruby-irb \
neovim \
vim \
fzf \
nodejs \
npm \
the_silver_searcher
RUN set -ex \
&& apk add --update --no-cache --virtual .build-deps build-base ruby-dev zlib-dev \
&& gem install solargraph bundler bundler:1.17.2 \
&& apk del .build-deps
ARG CACHEBUST=1
RUN git clone --depth 1 https://github.com/danguita/dotfiles.git $DOTFILES \
&& cd $DOTFILES \
&& rake install
WORKDIR $WORKSPACE
CMD $SHELL