-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from noam09/feature/docker-build
Enable markdown for all messages, lint, add Dockerfile for builds
- Loading branch information
Showing
6 changed files
with
114 additions
and
102 deletions.
There are no files selected for viewing
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 @@ | ||
config2.glade |
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,11 @@ | ||
FROM python:2.7.18-alpine3.11 AS base | ||
|
||
RUN mkdir -p /usr/src/app | ||
RUN mkdir -p /output | ||
WORKDIR /usr/src/app | ||
|
||
COPY telegramer /usr/src/app/telegramer | ||
COPY setup.py /usr/src/app/setup.py | ||
COPY LICENSE /usr/src/app/LICENSE | ||
|
||
RUN python setup.py bdist_egg |
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,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker build --no-cache -t telegramer.build . \ | ||
&& docker run -v $(pwd)/out:/tmp/out --rm -i telegramer.build sh -s << COMMANDS | ||
python setup.py bdist_egg | ||
chown -R $(id -u):$(id -g) dist | ||
cp -ar dist/ /tmp/out/ | ||
COMMANDS |
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 |
---|---|---|
|
@@ -46,7 +46,7 @@ | |
__plugin_name__ = "Telegramer" | ||
__author__ = "Noam" | ||
__author_email__ = "[email protected]" | ||
__version__ = "1.2.1.7" | ||
__version__ = "1.3.1" | ||
__url__ = "https://github.com/noam09" | ||
__license__ = "GPLv3" | ||
__description__ = "Control Deluge using Telegram" | ||
|
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
Oops, something went wrong.