forked from karlicoss/cloudmacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.customized
37 lines (30 loc) · 1.37 KB
/
Dockerfile.customized
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
# my private customization of generic cloudmacs package
FROM karlicoss/cloudmacs:latest AS cloudmacs
###
# these packages are necessary for my spacemacs configuration
# TODO not sure why it wants xclip, presumably misconfigured
RUN apk add --no-cache git xclip
ARG RIPGREP_VERSION="11.0.2"
# TODO is there a shorter way of doing this??
RUN TDIR=$(mktemp -d) \
&& cd "$TDIR" \
&& wget https://github.com/BurntSushi/ripgrep/releases/download/${RIPGREP_VERSION}/ripgrep-${RIPGREP_VERSION}-x86_64-unknown-linux-musl.tar.gz \
&& tar xzf ripgrep-${RIPGREP_VERSION}-x86_64-unknown-linux-musl.tar.gz \
&& mv ripgrep-${RIPGREP_VERSION}-x86_64-unknown-linux-musl/rg /usr/local/bin \
&& rm -rf "$TDIR"
ARG FDFIND_VERSION="7.4.0"
# TODO is there a shorter way of doing this??
RUN TDIR=$(mktemp -d) \
&& cd "$TDIR" \
&& wget https://github.com/sharkdp/fd/releases/download/v${FDFIND_VERSION}/fd-v${FDFIND_VERSION}-x86_64-unknown-linux-musl.tar.gz \
&& tar xzf fd-v${FDFIND_VERSION}-x86_64-unknown-linux-musl.tar.gz \
&& mv fd-v${FDFIND_VERSION}-x86_64-unknown-linux-musl/fd /usr/local/bin/fdfind \
&& rm -rf "$TDIR"
### add support for Emacs SQLite
RUN apk add build-base
###
RUN apk add git
RUN git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
RUN ~/.config/emacs/bin/doom install --config --no-env --install --no-fonts
### add timezone support
RUN apk add --no-cache tzdata