You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
641 B

  1. FROM debian:jessie
  2. RUN apt-get update && \
  3. DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes cron moreutils && \
  4. apt-get clean && \
  5. rm -rf /var/lib/apt/lists/*
  6. ## XXXvlab: these should be added by logrotate only
  7. RUN apt-get update && \
  8. DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes netcat-openbsd logrotate && \
  9. apt-get clean && \
  10. rm -rf /var/lib/apt/lists/*
  11. COPY ./src/usr/bin/lock /usr/bin/lock
  12. COPY ./src/usr/bin/docker-send-signal /usr/bin/docker-send-signal
  13. COPY ./src/usr/bin/docker-17.06.2-ce /usr/bin/docker
  14. COPY ./entrypoint.sh /entrypoint.sh
  15. ENTRYPOINT [ "/entrypoint.sh" ]