try build hooks

This commit is contained in:
Brad Warren 2018-02-16 10:23:50 -08:00
parent ca584e1b1e
commit b71e672a3f
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" .