blackbirdchess-docker-dev/aws/Dockerfile
Zuohuadong 17ea7b313f update
2017-10-12 18:54:09 +08:00

18 lines
368 B
Docker

FROM python:slim
MAINTAINER melchabcede@gmail.com
RUN pip install --upgrade --no-cache-dir awsebcli
RUN apt-get -yqq update && apt-get -yqq install git-all
#NOTE: make sure ssh keys are added to ssh_keys folder
RUN mkdir root/tmp_ssh
COPY /ssh_keys/. /root/.ssh/
RUN cd /root/.ssh && chmod 600 * && chmod 644 *.pub
# Set default work directory
WORKDIR /var/www