-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile.demo
More file actions
22 lines (21 loc) · 837 Bytes
/
Dockerfile.demo
File metadata and controls
22 lines (21 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ghcr.io/mikelorant/committed:latest AS committed
FROM ghcr.io/charmbracelet/vhs:v0.9.0
ENV TERM=xterm-256color
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/var/lib/apt \
apt-get update && \
apt-get install --yes \
git
ADD https://github.com/samuelngs/apple-emoji-linux/releases/download/v18.4/AppleColorEmoji.ttf /usr/share/fonts/apple/
RUN sed -i '/Noto Color Emoji/d' /usr/share/fontconfig/conf.avail/60-generic.conf
COPY --from=committed /usr/local/bin/committed /usr/local/bin/
RUN git config --global user.email "john.doe@example.com" && \
git config --global user.name "John Doe" && \
git config --global init.defaultBranch main
COPY <<EOF /root/.config/committed/config.yaml
authors:
- name: John Doe
email: jdoe@example.org
view:
compatibility: unicode9
EOF