github.com/maenmax/kairep@v0.0.0-20210218001208-55bf3df36788/Dockerfile (about) 1 FROM git.kaiostech.com:4567/cloud/docker-buildenv/generic 2 3 RUN yum install -y \ 4 rsyslog 5 6 ADD templates/hostname /bin/hostname 7 ADD configs/rsyslog.conf /etc/rsyslog.conf 8 RUN chmod +x /bin/hostname 9 10 RUN mkdir -p /data/autopush 11 ADD ./ /data/autopush 12 13 WORKDIR /data/autopush 14 15 # FIXME: Add missing configration and scripts to tarball and deploy using it 16 RUN rm -fr /data/autopush/.git && rm -fr /data/autopush/src 17 18 ADD docker-entrypoint.sh /docker-entrypoint.sh 19 RUN chmod +x /docker-entrypoint.sh 20 ENTRYPOINT ["/docker-entrypoint.sh"] 21 #CMD ["/docker-entrypoint.sh"]