FROM csst/csst-hstdm-l2:latest

USER root
COPY run.sh /app/bin/
RUN chmod +x /app/bin/run.sh
COPY --from=hub.cstcloud.cn/scalebox/base /usr/local/sbin /usr/local/sbin

RUN mkdir /work/
WORKDIR /work/
    
ENTRYPOINT ["goagent"]
