laradock/aws-eb-cli/Dockerfile

18 lines
376 B
Docker
Raw Normal View History

2017-09-12 04:13:44 +08:00
FROM python:slim
2018-03-16 17:34:47 +08:00
LABEL maintainer="melchabcede@gmail.com"
2017-09-12 04:13:44 +08:00
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