mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
57a025c1bd
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
28 lines
729 B
Docker
28 lines
729 B
Docker
FROM debian:bullseye-slim
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
python-fontforge \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN buildDeps=' \
|
|
ca-certificates \
|
|
git \
|
|
' \
|
|
set -x \
|
|
&& apt-get update \
|
|
&& apt-get install -y $buildDeps --no-install-recommends \
|
|
&& git clone --depth 1 --branch develop https://github.com/Lokaltog/vim-powerline.git /pwrline \
|
|
&& ( \
|
|
cd /pwrline \
|
|
&& mv fontpatcher/fontpatcher /usr/bin/ \
|
|
&& mv fontpatcher/PowerlineSymbols.sfd /usr/bin/ \
|
|
) \
|
|
&& rm -rf /pwrline \
|
|
&& apt-get purge -y --auto-remove $buildDeps \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& echo "Build complete."
|
|
|
|
ENTRYPOINT [ "fontpatcher" ]
|