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