FROM hoytluo/kylinv10sp2:latest(arm64)
FROM leechm/neokylin-sw:v10(sw64)
COPY kylin_aarch64.repo /etc/yum.repos.d/kylin_aarch64.repo
RUN yum install systemd-udev nss expat python zlib xz glib2 libksba gnutls nettle gzip curl libxml2 rpm glibc libsolv libsepol binutils dbus libarchive libgcrypt squashfs-tools gnupg2 libdnf json-c pcre2 libtasn1 libtirpc tar dnf cpio pcre tpm2-tss kexec-tools -y && yum clean all && rm -fr /var/lib/rpm/*
FROM chulinx/kylinv10:base(arm64)
FROM chulinx/kylinv10:sw64-base(sw64)
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;
VOLUME [ "/sys/fs/cgroup" ]
CMD ["/usr/sbin/init"]
FROM chulinx/kylinv10:systemd
RUN yum install crontabs cronie libxslt vi -y && yum clean all && rm -fr /var/lib/rpm/*
COPY entrypoint-arm64.sh /entrypoint.sh
#!/bin/bash
systemctl start crond
source /etc/profile && ccsvrmanger s start
chmod 777 -R /tmp/
1. create dir
mkdir -p ccwork/{home,tmp,opt}
2. use ccwork-base install new ccwork
docker run -itd -v $PWD/home:/home -v $PWD/opt:/opt -v $PWD/tmp:tmp chulinx/ccwork:base-0.1 && exec && sed s/0000/600 config.conf && bash install.sh
3. stop ccwork and cp file to package
4. change install.sh version
Content type
Image
Digest
sha256:ce11a878d…
Size
315.2 MB
Last updated
almost 3 years ago
docker pull chulinx/kylinv10:sw64-ccwork-base