forked from aliyun/plugsched
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (19 loc) · 880 Bytes
/
Dockerfile
File metadata and controls
21 lines (19 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2019-2022 Alibaba Group Holding Limited.
# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
From openanolis/anolisos:latest
RUN yum install epel-aliyuncs-release -y && \
yum install python3 python3-pip gcc gcc-c++ libyaml-devel -y && \
yum install python3-sh python3-docopt python3-pyyaml python3-colorlog -y
RUN yum install make bison flex \
gcc-plugin-devel \
systemd git \
elfutils-libelf-devel openssl openssl-devel \
elfutils-devel-static \
glibc-static zlib-static \
libstdc++-static \
platform-python-devel \
rpm-build rsync bc perl -y && \
yum install gcc-python-plugin --enablerepo=Plus -y && \
yum clean all
COPY . /usr/local/lib/plugsched/
RUN ln -s /usr/local/lib/plugsched/cli.py /usr/local/bin/plugsched-cli