aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-06 22:03:26 -0800
committerFuwn <[email protected]>2023-12-06 22:03:26 -0800
commita3e6be3816b3f3c01a327b67811fa23a1a0981a5 (patch)
treef06dab329a417ac3cbf9bb645833e277a70243a8
parentfeat(proxy): proxy all content (diff)
downloaddue.moe-a3e6be3816b3f3c01a327b67811fa23a1a0981a5.tar.xz
due.moe-a3e6be3816b3f3c01a327b67811fa23a1a0981a5.zip
ci(earthly): switch to alpine
-rw-r--r--Earthfile8
1 files changed, 3 insertions, 5 deletions
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