From a3e6be3816b3f3c01a327b67811fa23a1a0981a5 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 6 Dec 2023 22:03:26 -0800 Subject: ci(earthly): switch to alpine --- Earthfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Earthfile') diff --git a/Earthfile b/Earthfile index 9de1ab83..e91ed9fb 100644 --- a/Earthfile +++ b/Earthfile @@ -1,6 +1,6 @@ VERSION 0.7 -FROM oven/bun:1.0.15 +FROM oven/bun:1.0.15-alpine WORKDIR /due @@ -9,9 +9,7 @@ all: BUILD +docker deps: - RUN apt update -y - RUN apt upgrade -y - RUN apt install sqlite3 -y + RUN apk add --update --no-cache sqlite-dev COPY package.json ./ COPY bun.lockb ./ @@ -72,7 +70,7 @@ build: SAVE ARTIFACT build ./build docker: - FROM +deps + FROM oven/bun:1.0.15-alpine COPY +build/build ./build -- cgit v1.2.3