Dockerfile 519 B

12345678910111213
  1. FROM alpine:latest
  2. LABEL maintainer="fred.damstra@gmail.com"
  3. LABEL version="0.2"
  4. LABEL description="Docker image that updates a route53 zone record with the current IP (home grown dynip)"
  5. RUN echo -e "search default.svc.cluster.local svc.cluster.local cluster.local\nnameserver 10.152.183.10\noptions ndots:2" > /etc/resolv.conf
  6. RUN apk add --no-cache curl aws-cli bash
  7. COPY . /opt/update-route53
  8. RUN chmod 755 /opt/update-route53/update-route53.sh \
  9. && mkdir /scratch
  10. CMD ["/opt/update-route53/update-route53.sh"]