From 9104bb957971d813788f22d8278619019f7c4bbe Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 9 Aug 2023 17:45:17 -0700 Subject: [PATCH] =?UTF-8?q?build:=20=F0=9F=90=8B=20move=20Docker=20image?= =?UTF-8?q?=20to=20=20(Debian)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec07bb2106..00f42945cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ ## Install dev and compilation dependencies, build files -FROM alpine:3.18 as build +FROM node:latest as build WORKDIR /firefish # Install compilation dependencies -RUN apk add --no-cache --no-progress git alpine-sdk python3 nodejs-current npm rust cargo vips +RUN apt-get update && apt-get install -y git wget curl build-essential python3 +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y +RUN source "$HOME/.cargo/env" # Copy only the cargo dependency-related files first, to cache efficiently COPY packages/backend/native-utils/Cargo.toml packages/backend/native-utils/Cargo.toml