-
Notifications
You must be signed in to change notification settings - Fork 2
Docker
Deployer works easily with Docker containers and provides a Dockerfile for deploying stacks in an isolated environment. Running deployer from the docker image does not require Deployer to be manually installed.
docker build -t deployer .docker run deployer deployer --versionAccessKey="XXXXXXXXXXXXX"
AccessSecret="XXXXXXXXXXXXX"
docker run -v `pwd`:/workspace -e AWS_ACCESS_KEY_ID=${AccessKey} -e AWS_SECRET_ACCESS_KEY=${AccessSecret} deployer deployer --versionTo pass AWS credentials to the conatiner, just set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY enviornment variables. This can be done with the docker cli by passing the -e [KEY]=[VALUE] arguement for each environment variable.
Too attach a workspace to the container, just connect a volume to the /workspace directory. This can be done with the -v [LOCAL DIR]:[IMAGE DIR] arguement.
The Dockerfile used by Deployer uses the centos/python-36-centos7 image as a foundation and installs deployer for Python 3.6.
NodeJs is also installed on the image to allow for building Node based lambda functions.
The image runs with the user deployerUser after install as root.
![]() |
RightBrain Networks Contact us (800) 931-8354 |
