Skip to content

Commit

Permalink
0.4.1
Browse files Browse the repository at this point in the history
- handle plugin errors more explicitly
- try to avoid TooManyRedirects
- update dependencies; pin cryptography on non-rust version; update Dockerfile
  • Loading branch information
pannal committed Mar 7, 2021
1 parent e1f1651 commit 1c9ccb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
0.4.1
- handle plugin errors more explicitly
- try to avoid TooManyRedirects
- update dependencies
- update dependencies; pin cryptography on non-rust version; update Dockerfile

0.4.0-2
- rediscover PMS when SSL error occurred
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Python runtime as a parent image
FROM python:3.7-slim
FROM python:3.8-slim

# Set the working directory to /app
WORKDIR /app
Expand All @@ -13,15 +13,16 @@ RUN apt-get update \
apt-utils \
gcc \
g++ \
libffi-dev libssl-dev python-pip \
build-essential libssl-dev libffi-dev python-dev python-pip python3-dev cargo \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

COPY requirements.txt /app
RUN python -m pip install -U pip

# Install any needed packages specified in requirements.txt
RUN pip install --trusted-host pypi.python.org -r requirements.txt \
&& apt-get purge -y --auto-remove gcc g++ libffi-dev libssl-dev python-pip
&& apt-get purge -y --auto-remove gcc g++ build-essential libssl-dev libffi-dev python-dev python-pip python3-dev cargo

# Copy the current directory contents into the container at /app
COPY . /app
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ PyGithub==1.54.1
furl==2.1.0
ndg-httpsclient==0.5.1
certifi==2020.12.5
cffi==1.14.5
cffi==1.14.5
cryptography==3.3.2

0 comments on commit 1c9ccb9

Please sign in to comment.