Skip to content

Commit 04bacc8

Browse files
author
Petr Artamonov
committed
Added missed dig binary and realcoverage binary. Added example data format to readme
1 parent b7f2114 commit 04bacc8

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amd64/alpine:latest
1+
FROM alpine:latest
22

33
ARG binary_version
44

@@ -8,13 +8,14 @@ RUN apk add --no-cache --update openssl \
88
ca-certificates \
99
libc6-compat \
1010
libstdc++ \
11+
bind-tools \
1112
wget \
1213
curl \
1314
jq \
1415
bash \
1516
nodejs \
16-
npm \
17-
rm -rf /var/cache/apk/* && \
17+
npm && \
18+
rm -r -f /var/cache/apk/* && \
1819
wget --quiet -O /usr/local/bin/akamai https://github.com/akamai/cli/releases/download/1.1.4/akamai-1.1.4-linuxamd64 && \
1920
chmod +x /usr/local/bin/akamai && \
2021
echo '[ ! -z "$TERM" -a -r /etc/motd ] && cat /etc/motd' >> /root/.bashrc
@@ -34,8 +35,8 @@ RUN akamai install property --force && \
3435
rm -rf /cli/.akamai-cli/src/akamai-cli-netlist/.git
3536
RUN akamai install https://github.com/apiheat/akamai-cli-overview --force && \
3637
rm -rf /cli/.akamai-cli/src/akamai-cli-overview/.git
37-
# RUN wget --quiet -O /usr/local/bin/realcoverage https://github.com/apiheat/realcoverage/releases/download/v$binary_version/realcoverage_linux_amd64 && \
38-
# chmod +x /usr/local/bin/realcoverage
38+
RUN wget --quiet -O /usr/local/bin/realcoverage https://github.com/apiheat/realcoverage/releases/download/v$binary_version/realcoverage_linux_amd64 && \
39+
chmod +x /usr/local/bin/realcoverage
3940

4041
ENV AKAMAI_CLI_HOME=/cli
4142
VOLUME /cli

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,26 @@ Please forgive us for some error or issue.
2828
> export AKAMAI_EDGERC_CONFIG="~/.edgerc"
2929
```
3030

31+
### Example input data structure
32+
33+
```yaml
34+
properties:
35+
- property_name: test.com
36+
property_records:
37+
- record_name: test.com.
38+
record_type: A
39+
record_value: 123.123.124.124
40+
record_value_is_akamai_ip: true
41+
- record_name: static-test.com.
42+
record_type: CNAME
43+
record_value: static-test.com.edgekey.net.
44+
- property_name: acc.test.com
45+
property_records:
46+
- record_name: acc.test.com.
47+
record_type: CNAME
48+
record_value: acc.test.com.edgekey.net.
49+
```
50+
3151
### Generate report
3252
3353
```shell

0 commit comments

Comments
 (0)