Skip to content

Commit

Permalink
First container
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas COUET committed Dec 14, 2017
0 parents commit bdbeab7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM docker:stable-dind

RUN apk add --update alpine-sdk
RUN apk add --update bash python python-dev py-pip build-base openssh jq rsync
RUN pip install docker-compose
RUN pip install awscli
RUN mkdir -p ~/.ssh/
RUN echo -e "Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" > ~/.ssh/config

COPY start.sh /etc/start.sh

RUN chmod +x /etc/start.sh

CMD /etc/start.sh
Empty file added README.md
Empty file.
6 changes: 6 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

set -e

eval `ssh-agent -s`
dockerd

0 comments on commit bdbeab7

Please sign in to comment.