diff options
| author | ivar <i@oiee.no> | 2026-04-07 23:14:51 +0200 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2026-04-07 23:14:51 +0200 |
| commit | b49c35395afc45440e849d555381d26572027ff1 (patch) | |
| tree | da4b534b8b5180e57b462aaa8b7195943a250063 /Dockerfile | |
| parent | f11306d707122bb1d9d084e30179698e988d6ca7 (diff) | |
| download | iblog-b49c35395afc45440e849d555381d26572027ff1.tar.xz iblog-b49c35395afc45440e849d555381d26572027ff1.zip | |
Dockerfile is arch-agnostic
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 \ |
