您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Dockerfile 688B

12345678910111213141516171819202122232425
  1. FROM debian:stretch
  2. ARG CONFIG_DIR=/etc/default/config-files/
  3. RUN apt-get update &&\
  4. apt-get install -y wget gnupg2 &&\
  5. wget -O - https://repo.saltstack.com/py3/debian/9/amd64/latest/SALTSTACK-GPG-KEY.pub | apt-key add - &&\
  6. echo 'deb http://repo.saltstack.com/py3/debian/9/amd64/latest stretch main' > /etc/apt/sources.list.d/saltstack.list &&\
  7. apt-get update &&\
  8. apt-get install -y ssmtp salt-master &&\
  9. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  10. COPY ./vars-vars /etc/vars-vars
  11. COPY ./vars-files /etc/vars-files
  12. COPY ./common.sh /common.sh
  13. COPY run.sh /run.sh
  14. RUN mkdir "${CONFIG_DIR}"
  15. COPY ./config "${CONFIG_DIR}"
  16. CMD ["/run.sh"]