2016-12-03 03:07:05 +01:00
|
|
|
FROM debian:stretch
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2016-12-03 03:07:05 +01:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
python-fontforge \
|
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN buildDeps=' \
|
2016-12-03 03:18:08 +01:00
|
|
|
ca-certificates \
|
|
|
|
git \
|
|
|
|
' \
|
|
|
|
set -x \
|
|
|
|
&& apt-get update \
|
|
|
|
&& apt-get install -y $buildDeps --no-install-recommends \
|
2016-12-28 02:04:58 +01:00
|
|
|
&& git clone --depth 1 --branch develop https://github.com/Lokaltog/vim-powerline.git /pwrline \
|
2016-12-03 03:18:08 +01:00
|
|
|
&& ( \
|
|
|
|
cd /pwrline \
|
2016-12-03 03:07:05 +01:00
|
|
|
&& mv fontpatcher/fontpatcher /usr/bin/ \
|
|
|
|
&& mv fontpatcher/PowerlineSymbols.sfd /usr/bin/ \
|
2016-12-03 03:18:08 +01:00
|
|
|
) \
|
|
|
|
&& rm -rf /pwrline \
|
|
|
|
&& apt-get purge -y --auto-remove $buildDeps \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& echo "Build complete."
|
2016-12-03 03:07:05 +01:00
|
|
|
|
|
|
|
ENTRYPOINT [ "fontpatcher" ]
|