Skip to content

Commit

Permalink
patch requests to fix proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
vimagick committed Jan 15, 2024
1 parent 0eb64bc commit 0c8e1e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Dockerfile for urlwatch
#

FROM alpine:3
FROM alpine:3.18
MAINTAINER EasyPi Software Foundation

ARG URLWATCH_VERSION
Expand Down Expand Up @@ -46,6 +46,7 @@ RUN set -xe \
pytz \
pyyaml \
requests \
&& sed -i '/if "proxies" not in kwargs:$/s//if True:/' /usr/lib/python3.11/site-packages/requests/sessions.py \
&& pip3 install urlwatch==${URLWATCH_VERSION} \
&& apk del build-base \
libffi-dev \
Expand Down

0 comments on commit 0c8e1e7

Please sign in to comment.