Skip to content

Commit

Permalink
fix(cli): work around certificate issues (#1890)
Browse files Browse the repository at this point in the history
Docker build is currently broken due

> @basemaps/infra:   Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 23.222.12.50 443]
  • Loading branch information
blacha committed Oct 3, 2021
1 parent adefde1 commit 5e90775
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ FROM osgeo/gdal:ubuntu-small-3.3.0

WORKDIR /usr/src/app

RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install nodejs -y
RUN apt-get update
RUN apt-get install -y openssl ca-certificates > /dev/null 2>&1
RUN update-ca-certificates
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

COPY dist/* ./

Expand Down

0 comments on commit 5e90775

Please sign in to comment.