Skip to content

Commit 8718925

Browse files
authored
Merge pull request #98 from openaddresses/fix-ssl-certs
Update SSL CA certificates to fix download failures
2 parents 4cfea10 + eea7523 commit 8718925

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
FROM ghcr.io/osgeo/gdal:alpine-normal-3.7.1
22

3-
RUN apk add nodejs yarn git python3 python3-dev py3-pip \
3+
RUN apk add --no-cache nodejs yarn git python3 python3-dev py3-pip \
44
make bash sqlite-dev zlib-dev geos geos-dev \
55
postgresql-libs gcc g++ musl-dev postgresql-dev cairo \
6-
py3-cairo file
6+
py3-cairo file ca-certificates \
7+
&& update-ca-certificates
78

89
# Download and install Tippecanoe
910
RUN git clone -b 2.31.0 https://github.com/felt/tippecanoe.git /tmp/tippecanoe && \
@@ -15,6 +16,6 @@ RUN git clone -b 2.31.0 https://github.com/felt/tippecanoe.git /tmp/tippecanoe &
1516
WORKDIR /usr/local/src/batch-machine
1617
ADD . /usr/local/src/batch-machine
1718

18-
RUN pip3 install .
19+
RUN pip3 install . && pip3 install --upgrade certifi
1920

2021
CMD python3 test.py

0 commit comments

Comments
 (0)