2018-09-11 12:08:58 +00:00
|
|
|
FROM centos
|
2018-09-11 10:57:48 +00:00
|
|
|
LABEL maintainer="MiaoWoo<admin@yumc.pw>"
|
|
|
|
|
2018-09-11 12:56:45 +00:00
|
|
|
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
|
|
|
|
|
2018-09-11 10:57:48 +00:00
|
|
|
WORKDIR /root
|
2018-09-11 12:08:58 +00:00
|
|
|
|
|
|
|
ADD main main
|
|
|
|
ADD lib lib
|
2018-09-11 10:57:48 +00:00
|
|
|
|
2018-09-11 12:08:58 +00:00
|
|
|
ENV LIB_DIR=/root/lib
|
2018-09-11 10:57:48 +00:00
|
|
|
|
2018-09-11 12:08:58 +00:00
|
|
|
CMD ./main -lib ${LIB_DIR}
|