Skip to content

Commit

Permalink
Upgrade to Zonemaster release 2023.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Jun 21, 2023
1 parent 7d238c3 commit 7dee7f6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

runs-on: ubuntu-latest
env:
ZMREL: 2022.2.2-1
ZMREL: 2023.1-1

steps:
- name: Check out repository
Expand Down
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN apt-get update \
libio-socket-inet6-perl \
libjson-xs-perl \
liblist-moreutils-perl \
liblocale-po-perl \
liblog-any-perl \
libmailtools-perl \
libmodule-find-perl \
libmodule-install-xsutil-perl \
Expand All @@ -32,11 +34,12 @@ RUN apt-get update \
libtext-csv-perl \
libtext-reflow-perl \
libtry-tiny-perl \
libyaml-libyaml-perl \
make \
&& rm -rf /var/lib/apt/lists/*
RUN cpanm https://cpan.metacpan.org/authors/id/Z/ZN/ZNMSTR/Zonemaster-LDNS-3.1.0.tar.gz \
&& cpanm https://cpan.metacpan.org/authors/id/Z/ZN/ZNMSTR/Zonemaster-Engine-v4.6.2.tar.gz \
&& cpanm https://cpan.metacpan.org/authors/id/Z/ZN/ZNMSTR/Zonemaster-CLI-v5.0.2.tar.gz \
RUN cpanm https://cpan.metacpan.org/authors/id/Z/ZN/ZNMSTR/Zonemaster-LDNS-3.2.0.tar.gz \
&& cpanm https://cpan.metacpan.org/authors/id/Z/ZN/ZNMSTR/Zonemaster-Engine-v4.7.0.tar.gz \
&& cpanm https://cpan.metacpan.org/authors/id/Z/ZN/ZNMSTR/Zonemaster-CLI-v6.0.0.tar.gz \
&& rm -rf /root/.cpanm/
COPY entry /entry
COPY profile.json.in /etc/zonemaster-profile.json.in
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ for the Zonemaster project.
## Usage

```shell
docker run --rm --user=4848 --cap-drop=all --security-opt=no-new-privileges --read-only --tty ghcr.io/andreaso/zonemaster-cli:2022.2.2-1 --help
docker run --rm --user=4848 --cap-drop=all --security-opt=no-new-privileges --read-only --tty ghcr.io/andreaso/zonemaster-cli:2023.1-1 --help
```

```shell
docker run --rm --user=4848 --cap-drop=all --security-opt=no-new-privileges --read-only --network=host --tty ghcr.io/andreaso/zonemaster-cli:2022.2.2-1 DOMAIN
docker run --rm --user=4848 --cap-drop=all --security-opt=no-new-privileges --read-only --network=host --tty ghcr.io/andreaso/zonemaster-cli:2023.1-1 DOMAIN
```

(Suggesting `--network=host` since it's more likely to have IPv6 connectivity by default.)
Expand Down
2 changes: 2 additions & 0 deletions profile.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"connectivity01",
"connectivity02",
"connectivity03",
"connectivity04",
"consistency01",
"consistency02",
"consistency03",
Expand Down Expand Up @@ -52,6 +53,7 @@
"nameserver11",
"nameserver12",
"nameserver13",
"nameserver15",
"syntax01",
"syntax02",
"syntax03",
Expand Down

0 comments on commit 7dee7f6

Please sign in to comment.