Skip to content

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

License

Notifications You must be signed in to change notification settings

leakytap/aws-cli-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages