leakytap / aws-cli-docker

Docker Image with the AWS CLI and a wait-for-it ready Ncat server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-cli-docker

Docker image for the AWS CLI that runs a web server on port 9000 after running any scripts in the init directory to be used by a wait-for-it script.

The wait-for-it script is available inside the docker image as well at /scripts/wait-for-it.sh to be used in your script.

Usage

Docker:

docker run -v ${pwd}/init:/init -p 9000:9000 -it ghcr.io/leakytap/aws-cli-docker:latest

Docker compose:

version: "3.5"
services:
  aws:
    image: ghcr.io/leakytap/aws-cli-docker:latest
    environment:
      AWS_REGION: "us-west-2"
      AWS_ACCESS_KEY_ID: key
      AWS_SECRET_ACCESS_KEY: secret=value
    volumes:
      - ./init:/init
    ports:
      - 9000:9000

About

Docker Image with the AWS CLI and a wait-for-it ready Ncat server

License:Apache License 2.0


Languages

Language:Shell 93.8%Language:Dockerfile 6.2%