Add Docker buildx GitHub workflow

This commit is contained in:
JonnyWong16 2020-04-12 17:56:15 -07:00
parent 9097e79e4f
commit f7f76d82b6
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
6 changed files with 92 additions and 78 deletions

View file

@ -1,6 +1,6 @@
FROM python:2.7.17-slim
FROM tautulli/tautulli-baseimage:latest
LABEL maintainer="TheMeanCanEHdian"
LABEL maintainer="Tautulli"
ARG VERSION
ARG BRANCH
@ -11,16 +11,8 @@ ENV TZ=UTC
WORKDIR /app
RUN \
apt-get -q -y update --no-install-recommends && \
apt-get install -q -y --no-install-recommends \
curl && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir --upgrade \
pycryptodomex \
pyopenssl && \
echo ${VERSION} > /app/version.txt && \
echo ${BRANCH} > /app/branch.txt
echo ${VERSION} > /app/version.txt && \
echo ${BRANCH} > /app/branch.txt
COPY . /app