1
0

feat: update Dockerfile

This commit is contained in:
502647092 2018-09-11 20:56:45 +08:00
parent 66d4e0f273
commit f57ac365b4

View File

@ -1,9 +1,15 @@
FROM centos FROM centos
LABEL maintainer="MiaoWoo<admin@yumc.pw>" LABEL maintainer="MiaoWoo<admin@yumc.pw>"
ENV LANG C.UTF-8 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 WORKDIR /root
RUN yum install -y fontconfig
ADD main main ADD main main
ADD lib lib ADD lib lib