summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorivar <i@oiee.no>2026-04-07 23:14:51 +0200
committerivar <i@oiee.no>2026-04-07 23:14:51 +0200
commitb49c35395afc45440e849d555381d26572027ff1 (patch)
treeda4b534b8b5180e57b462aaa8b7195943a250063 /Dockerfile
parentf11306d707122bb1d9d084e30179698e988d6ca7 (diff)
downloadiblog-b49c35395afc45440e849d555381d26572027ff1.tar.xz
iblog-b49c35395afc45440e849d555381d26572027ff1.zip
Dockerfile is arch-agnostic
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index d63fccb..92ee5d4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM --platform=linux/amd64 oven/bun:alpine AS js-builder
+FROM oven/bun:alpine AS js-builder
WORKDIR /src/assets/lib
COPY assets/lib/package.json assets/lib/bun.lock ./
@@ -13,7 +13,7 @@ COPY assets/admin/lib/ ./
RUN bun run build
-FROM --platform=linux/amd64 golang:1.26-alpine AS builder
+FROM golang:1.26-alpine AS builder
RUN apk add --no-cache \
gcc \
@@ -31,7 +31,7 @@ COPY --from=js-builder /src/assets/admin/lib/dist assets/admin/lib/dist
RUN CGO_ENABLED=1 go build -o /iblog ./cmd/iblog
-FROM --platform=linux/amd64 alpine:3.21
+FROM alpine:3.21
RUN apk add --no-cache \
vips \