https://github.com/chexov/dockerfile2shell
Simple Dockerfile to shell script converter
https://github.com/chexov/dockerfile2shell
aws-ec2 devops docker
Last synced: about 2 months ago
JSON representation
Simple Dockerfile to shell script converter
- Host: GitHub
- URL: https://github.com/chexov/dockerfile2shell
- Owner: chexov
- Created: 2017-07-29T02:04:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-29T04:50:35.000Z (almost 9 years ago)
- Last Synced: 2025-10-12T23:56:38.356Z (8 months ago)
- Topics: aws-ec2, devops, docker
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Usefull for EC2 AMI creation.
Ideally output script may be used as user-data for initial instance setup.
```
cd image/
ls -l Dockerfile
dockerfile2shell.py > userdata.sh
aws ec2 run-instances --image-id ami-7f647f06 --count 1 --user-data file://$PWD/userdata.sh
```