-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
76 additions
and
21 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM python:3.6-alpine | ||
|
||
# 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 micro && tail -f /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-alpine . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM python:3.6-alpine3.7 | ||
|
||
# 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 micro && tail -f /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-alpine3.7 . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM python:3.6 | ||
|
||
# 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 micro && tail -f /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 micro && tail -f /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | ||
``` |