Skip to content

Commit

Permalink
Update building and base container to 2022.09.2 (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHl111 authored Sep 15, 2022
1 parent 77c9778 commit 2dd3f77
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion one-container/pihole-unbound/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM pihole/pihole:2022.08.2
ARG PIHOLE_VERSION
FROM pihole/pihole:${PIHOLE_VERSION:-latest}
RUN apt update && apt install -y unbound

COPY lighttpd-external.conf /etc/lighttpd/external.conf
Expand Down
2 changes: 1 addition & 1 deletion one-container/pihole-unbound/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022.08.2
2022.09.2
5 changes: 3 additions & 2 deletions one-container/pihole-unbound/build_and_push.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# Run this once: docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:`cat VERSION` --push .
docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:latest --push .
PIHOLE_VER=`cat VERSION`
docker buildx build --build-arg PIHOLE_VERSION=$PIHOLE_VER --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:$PIHOLE_VER --push .
docker buildx build --build-arg PIHOLE_VERSION=$PIHOLE_VER --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t cbcrowe/pihole-unbound:latest --push .


0 comments on commit 2dd3f77

Please sign in to comment.