FROM centos LABEL maintainer="MiaoWoo" ENV LANG en_US.UTF-8 RUN yum install -y fontconfig git nano RUN git clone https://github.com/powerline/fonts.git --depth=1 && \ cd fonts && \ ./install.sh && \ fc-cache WORKDIR /root ADD main main ADD lib lib ENV LIB_DIR=/root/lib CMD ./main -lib ${LIB_DIR}