docker-volume-backup/Dockerfile

16 wiersze
415 B
Docker
Czysty Zwykły widok Historia

FROM ubuntu:18.04
2018-11-23 10:30:44 +00:00
2018-11-26 09:46:26 +00:00
RUN apt-get update && apt-get install -y curl cron awscli
2018-11-23 10:30:44 +00:00
# https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-convenience-script
RUN curl -fsSL get.docker.com -o get-docker.sh
RUN sh get-docker.sh
2018-11-26 09:46:26 +00:00
COPY ./entrypoint.sh /root/
2018-11-23 10:30:44 +00:00
COPY ./backup.sh /root/
2018-11-26 09:46:26 +00:00
RUN chmod a+x /root/entrypoint.sh
2018-11-23 10:30:44 +00:00
RUN chmod a+x /root/backup.sh
2018-11-26 09:46:26 +00:00
WORKDIR /root
CMD [ "/root/entrypoint.sh" ]