Skip to content

Commit

Permalink
Added missed dig binary and realcoverage binary. Added example data f…
Browse files Browse the repository at this point in the history
…ormat to readme
  • Loading branch information
Petr Artamonov committed Jul 8, 2020
1 parent b7f2114 commit 04bacc8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amd64/alpine:latest
FROM alpine:latest

ARG binary_version

Expand All @@ -8,13 +8,14 @@ RUN apk add --no-cache --update openssl \
ca-certificates \
libc6-compat \
libstdc++ \
bind-tools \
wget \
curl \
jq \
bash \
nodejs \
npm \
rm -rf /var/cache/apk/* && \
npm && \
rm -r -f /var/cache/apk/* && \
wget --quiet -O /usr/local/bin/akamai https://github.com/akamai/cli/releases/download/1.1.4/akamai-1.1.4-linuxamd64 && \
chmod +x /usr/local/bin/akamai && \
echo '[ ! -z "$TERM" -a -r /etc/motd ] && cat /etc/motd' >> /root/.bashrc
Expand All @@ -34,8 +35,8 @@ RUN akamai install property --force && \
rm -rf /cli/.akamai-cli/src/akamai-cli-netlist/.git
RUN akamai install https://github.com/apiheat/akamai-cli-overview --force && \
rm -rf /cli/.akamai-cli/src/akamai-cli-overview/.git
# RUN wget --quiet -O /usr/local/bin/realcoverage https://github.com/apiheat/realcoverage/releases/download/v$binary_version/realcoverage_linux_amd64 && \
# chmod +x /usr/local/bin/realcoverage
RUN wget --quiet -O /usr/local/bin/realcoverage https://github.com/apiheat/realcoverage/releases/download/v$binary_version/realcoverage_linux_amd64 && \
chmod +x /usr/local/bin/realcoverage

ENV AKAMAI_CLI_HOME=/cli
VOLUME /cli
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,26 @@ Please forgive us for some error or issue.
> export AKAMAI_EDGERC_CONFIG="~/.edgerc"
```

### Example input data structure

```yaml
properties:
- property_name: test.com
property_records:
- record_name: test.com.
record_type: A
record_value: 123.123.124.124
record_value_is_akamai_ip: true
- record_name: static-test.com.
record_type: CNAME
record_value: static-test.com.edgekey.net.
- property_name: acc.test.com
property_records:
- record_name: acc.test.com.
record_type: CNAME
record_value: acc.test.com.edgekey.net.
```
### Generate report
```shell
Expand Down

0 comments on commit 04bacc8

Please sign in to comment.