Dockerfile 379 B

12345678910111213
  1. FROM alpine:latest
  2. LABEL maintainer="fred.damstra@gmail.com"
  3. LABEL version="0.1"
  4. LABEL description="Docker image that updates a route53 zone record with the current IP (home grown dynip)"
  5. RUN apk add --no-cache curl aws-cli bash
  6. COPY . /opt/aws-backup
  7. RUN chmod 755 /opt/aws-backup/aws-backup.sh \
  8. && mkdir /source \
  9. && mkdir /scratch
  10. CMD ["/opt/aws-backup/aws-backup.sh"]