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
|
|
|
|
|
2018-09-12 09:14:26 +00:00
|
|
|
RUN yum install -y fontconfig
|
2018-09-11 12:56:45 +00:00
|
|
|
|
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}
|