From c479130cf74f73d5aa89f426ce8031b5e42de5af Mon Sep 17 00:00:00 2001 From: Corey Date: Wed, 29 May 2024 19:02:40 -0700 Subject: [PATCH 1/2] fix: Build docker images using node:lts-alpine Signed-off-by: Corey --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 413a9bd279..96eebf0672 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,10 @@ ############################################################ FROM node:lts-alpine AS build -RUN apk --no-cache add git +RUN apk --no-cache add git \ + python3 \ + build-base + WORKDIR /tmp # Copy package.json first to benefit from layer caching From 6d00138bdd7c610f144485ac95f7fa39d29edaa2 Mon Sep 17 00:00:00 2001 From: Corey Date: Wed, 29 May 2024 19:42:36 -0700 Subject: [PATCH 2/2] reorder Signed-off-by: Corey --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96eebf0672..c6826d648f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,10 @@ ############################################################ FROM node:lts-alpine AS build -RUN apk --no-cache add git \ - python3 \ - build-base +RUN apk --no-cache add \ + build-base \ + git \ + python3 WORKDIR /tmp