forked from 0k/0k-charms
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
20 lines
641 B
FROM debian:jessie
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes cron moreutils && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
## XXXvlab: these should be added by logrotate only
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes netcat-openbsd logrotate && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY ./src/usr/bin/lock /usr/bin/lock
|
|
COPY ./src/usr/bin/docker-send-signal /usr/bin/docker-send-signal
|
|
COPY ./src/usr/bin/docker-17.06.2-ce /usr/bin/docker
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|