Skip to content

Commit

Permalink
Add dockerfile based on python3.6-stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
fortizc committed Jun 8, 2018
1 parent 36c769c commit 293afd5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docker/stretch/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM python:3.6-stretch

# Set directories
RUN mkdir -p /etc/micro/plugins
RUN mkdir -p /var/log/micro
RUN mkdir -p /var/run/micro

ENV MICRO_PLUGIN_PATH=/etc/micro/plugins
ENV MICRO_LOG_PATH=/var/log/micro
ENV MICRO_PID_PATH=/var/run/micro

RUN pip install micro

CMD python -m micro && tail -f /dev/null
5 changes: 5 additions & 0 deletions docker/stretch/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Build

```
docker build -t humu1us/micro:1.0.2-python3.6-stretch .
```

0 comments on commit 293afd5

Please sign in to comment.