docker run -itd --privileged chulinx/centos7-systemd:v1.0
FROM chulinx/centos7-systemd:v1.0
RUN yum install dmidecode crontabs -y && yum clean all
COPY entrypoint.sh /entrypoint.sh
#!/bin/bash
localedef -c -f UTF-8 -i zh_CN zh_CN.utf8
systemctl start crond
grep "export LC_ALL=zh_CN.utf8" /etc/profile
[ $? -ne 0 ] && echo -e "export LC_ALL=zh_CN.utf8\nexport LANG=zh_CN.utf8\nexport LANGUAGE=zh_CN.utf8" >>/etc/profile
source /etc/profile && ccsvrmanger s start
Content type
Image
Digest
Size
428.3 MB
Last updated
over 4 years ago
docker pull chulinx/centos7-systemd:ccwork-base-v0.2