try build hooks

This commit is contained in:
Brad Warren 2018-02-16 10:23:50 -08:00
parent 7bdbe9cae8
commit c3eb087e60
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,5 @@
FROM certbot/certbot:rolling
ARG CACHE_TAG=latest
FROM certbot/certbot:${CACHE_TAG}
COPY . src/certbot-dns-cloudflare

View file

@ -0,0 +1,2 @@
#!/bin/bash
docker build --build-arg BUILD_DATE="$CACHE_TAG" -t "$IMAGE_NAME" .