From a1021acbaee0872a06f57f5caa3fcd990d54b351 Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Mon, 3 Jun 2024 13:31:34 +0300 Subject: [PATCH] Update node to v.18 Node v.20 breaks libpostal node bindings, so use v.18 --- Dockerfile.base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.base b/Dockerfile.base index 1b5eca87..04a33a65 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -1,4 +1,4 @@ -FROM node:16-buster +FROM node:18-buster # This dockerfile creates a base image, which contains all libpostal components. # The actual travis build for pelias api does not run error sensitive and @@ -8,7 +8,7 @@ FROM node:16-buster # install libpostal RUN apt-get update -RUN echo 'APT::Acquire::Retries "20";' >> /etc/apt/apt.conf +RN echo 'APT::Acquire::Retries "20";' >> /etc/apt/apt.conf RUN apt-get install -y --no-install-recommends git curl make libsnappy-dev autoconf automake libtool python pkg-config RUN mkdir -p /mnt/data