Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2016-12-02 18:18:08 -08:00
parent 3d5b99a969
commit 9485c708be
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -7,19 +7,21 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN buildDeps=' \ RUN buildDeps=' \
ca-certificates \ ca-certificates \
git \ git \
' \ ' \
set -x \ set -x \
&& apt-get update \ && apt-get update \
&& apt-get install -y $buildDeps --no-install-recommends \ && apt-get install -y $buildDeps --no-install-recommends \
&& git clone -b develop --depth 1 https://github.com/Lokaltog/vim-powerline.git /pwrline \ && git clone -b develop --depth 1 https://github.com/Lokaltog/vim-powerline.git /pwrline \
&& ( \ && ( \
cd /pwrline \ cd /pwrline \
&& mv fontpatcher/fontpatcher /usr/bin/ \ && mv fontpatcher/fontpatcher /usr/bin/ \
&& mv fontpatcher/PowerlineSymbols.sfd /usr/bin/ \ && mv fontpatcher/PowerlineSymbols.sfd /usr/bin/ \
) \ ) \
&& rm -rf /pwrline \ && rm -rf /pwrline \
&& echo "Build complete." && apt-get purge -y --auto-remove $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& echo "Build complete."
ENTRYPOINT [ "fontpatcher" ] ENTRYPOINT [ "fontpatcher" ]