Sign inSign up

chulinx/centos7-systemd

By chulinx

•Updated over 4 years ago

Image
0

117

chulinx/centos7-systemd repository overview

⁠You can start with this command

docker run -itd --privileged chulinx/centos7-systemd:v1.0 

⁠chulinx/centos7-systemd:ccwork-base-v0.2

FROM chulinx/centos7-systemd:v1.0
RUN yum install dmidecode crontabs -y && yum clean all
COPY entrypoint.sh /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

Tag summary

Content type

Image

Digest

Size

428.3 MB

Last updated

over 4 years ago

docker pull chulinx/centos7-systemd:ccwork-base-v0.2