Sign inSign up

tophfr/akamai

By tophfr

•Updated over 5 years ago

Image
2

5.8K

tophfr/akamai repository overview

⁠Faster docker images for Akamai CLI.

I used the official docker image provided by Akamai in my Jenkins jobs, but:

  • downloading the 1.6G docker image takes too much time
  • as big as this image is, it does not even include the api-gateway plugin that I needed
  • finally, it is unexpectedly slow to start

So this repo aims to provide smaller and faster images available on docker hub⁠ based on Alpine Linux⁠ and using the last available release of Akamai CLI⁠.

⁠How to use it

First create your ~/.edgerc file with your api keys.
Then run:

akamai() { docker run --rm -i $([ -t 0 ] && echo -t) -v "$PWD:$PWD" -w "$PWD" -v $HOME/.edgerc:/root/.edgerc "tophfr/akamai:${1:-all}" "${@:2}"; }

akamai purge invalidate --help
akamai api-gateway list-endpoints
akamai pl lc
akamai cps list
...

⁠TODO

  • fixing permissions on linux (ok with Docker for Mac)

Tag summary

Content type

Image

Digest

Size

715.8 MB

Last updated

over 5 years ago

docker pull tophfr/akamai