FROM hub.cstcloud.cn/scalebox/agent

LABEL maintainer="Xiaoli Zhang<zhangxiaoli@cnic.cn>"

USER root

# 安装python
RUN apt update \
    && apt install -y python3 \
    && apt clean \
    && rm -rf /var/lib/apt/lists/*

COPY *.sh /app/bin/
COPY *.py /app/bin/
# COPY *.proto /app/bin/
RUN chmod +x /app/bin/run.sh

ENV CSST_PIPELINE_GRPC_SERVER="10.3.10.28:50051"
