Skip to content

Commit

Permalink
Update node to v.18
Browse files Browse the repository at this point in the history
Node v.20 breaks libpostal node bindings, so use v.18
  • Loading branch information
vesameskanen committed Jun 3, 2024
1 parent f90d011 commit a1021ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.base
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit a1021ac

Please sign in to comment.