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
FROM python:3.7.4-buster | |
ENV CI_POETRY_URL="https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" \ | |
PATH="/root/.poetry/bin:${PATH}" \ | |
# PYTHONFAULTHANDLER=1 \ | |
# PYTHONUNBUFFERED=1 \ | |
# PYTHONHASHSEED=random \ | |
# PIP_NO_CACHE_DIR=off \ | |
# PIP_DISABLE_PIP_VERSION_CHECK=on \ | |
# PIP_DEFAULT_TIMEOUT=100 \ |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import os | |
import smtplib | |
import sys | |
import tarfile | |
from datetime import datetime | |
from email import encoders | |
from email.mime.base import MIMEBase | |
from email.mime.multipart import MIMEMultipart |