Skip to main content

docker-build-ami

Build Amazon EC2 AMI image using a Dockerfile

Limitations

  • Only support operations RUN, COPY at the moment

Configuration

There is a separate config file for the script in either “/etc/docker-build-ami.conf” or “~/.docker-build-ami.conf”.

# Temporary directory
tmp_dir = /tmp

# Name tag for host building AMI image
# host_tag = 'docker-build-ami'

# Region
# region = eu-west-1

# Instance type
# instance_type = m3.medium

# Subnet ID
# subnet_id = subnet-123abc45

# AWS access key id
# aws_access_key_id = DFSDF3HGDF4SDSD1DDFF

# AWS secret access key
# aws_secret_access_key = 3riljdsf5SDFSDvsdfds452sdSDFDfsdf44SDFdR

Usage

usage: docker-build-ami [-h] [-c CONFIG] [-d] [-r] [-t] [-s] [-n] [-i] [-u]

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                    Configuration file
  -d, --debug           Print debug info
  -r, --region          AWS region
  -t, --instance-type   EC2 instance type
  -s, --subnet-id       AWS subnet id
  -n, --image-name      AMI image name
  -i, --image-id        AMI image ID
  -u, --image-user      AMI image user

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docker-build-ami-0.2.0.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file docker-build-ami-0.2.0.tar.gz.

File metadata

File hashes

Hashes for docker-build-ami-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e50b15948e7b18a7f1d74901a08c46ac7f8af3e8263be8a1d3b94442f5bbd310
MD5 26cbf44584b1e412728ee31af32f1b16
BLAKE2b-256 af0d3ca0d6dceb53d435dcbf33be2da72ba51f84fdc87e291035cf2a00593f65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page