1
0
html2pic/Dockerfile

14 lines
194 B
Docker
Raw Normal View History

2018-09-11 12:08:58 +00:00
FROM centos
2018-09-11 10:57:48 +00:00
LABEL maintainer="MiaoWoo<admin@yumc.pw>"
ENV LANG C.UTF-8
WORKDIR /root
2018-09-11 12:08:58 +00:00
RUN yum install -y fontconfig
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}