-
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
3 changed files
with
70 additions
and
0 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,29 @@ | ||
# docker run -ti --rm \ | ||
# --name mail \ | ||
# -v ~/.mbsync:/home/mail/.mbsync \ | ||
# -v ~/.msmtprc:/home/mail/.msmtprc \ | ||
# -v ~/.neomuttrc:/home/mail/.neomuttrc \ | ||
# -v ~/Maildir:/home/mail/Maildir | ||
# mego22/mail | ||
|
||
|
||
FROM debian:buster | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update -q && \ | ||
apt-get install -q -y ca-certificates \ | ||
neomutt \ | ||
isync \ | ||
mu4e \ | ||
lynx \ | ||
msmtp \ | ||
cron \ | ||
vim && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
ADD entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
# start cron | ||
cron | ||
|
||
runthis() | ||
{ | ||
|
||
exec "$@" | ||
} | ||
|
||
|
||
main () | ||
{ | ||
|
||
case "$1" in | ||
mail) | ||
shift; neomutt;; | ||
*) | ||
runthis "$@";; | ||
esac | ||
} | ||
|
||
main "$@" | ||
|
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 @@ | ||
#docker run -it --rm \ | ||
# -v /etc/localtime:/etc/localtime:ro \ | ||
# -v $HOME/.rainbow_oauth:/root/.rainbow_oauth \ | ||
# -v $HOME/.rainbow_config.json:/root/.rainbow_config.json \ | ||
# --name rainbowstream \ | ||
# mego22/rainbowstream | ||
|
||
FROM python:3 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN pip install rainbowstream | ||
|
||
ENTRYPOINT [ "rainbowstream" ] |