From 741eac9484868867dbe73fccad820a83a93518e2 Mon Sep 17 00:00:00 2001 From: Rafael Taranto Date: Tue, 20 Aug 2024 08:48:21 +0100 Subject: [PATCH] chore: rollback to ubuntu build --- build/ci.Dockerfile | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/build/ci.Dockerfile b/build/ci.Dockerfile index 1f6d6ecc..8eeaf0a6 100644 --- a/build/ci.Dockerfile +++ b/build/ci.Dockerfile @@ -1,5 +1,22 @@ -FROM alpine:3.14 -RUN apk add --no-cache nodejs npm git curl build-base net-tools python3 postgresql-dev +FROM ubuntu:20.04 as base + +ARG VERSION +ARG DEBIAN_FRONTEND=noninteractive +ENV TZ=Europe/Lisbon + +RUN apt-get update + +RUN apt-get install -y -q curl \ + sudo \ + git \ + python2-minimal \ + build-essential \ + libpq-dev \ + net-tools \ + tar + +RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - +RUN apt-get install nodejs -y -q WORKDIR lamassu-server