Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile.idle
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# The ingot_idle global service (cmd/ingot-idle). Published as
# ghcr.io/aliasproject/ingot-idle:<version> by scripts/release.sh, tagged with
# the CLI version so a CLI always runs the service it was built against.
FROM golang:1.23-alpine AS build
# Build on the host platform and cross-compile with GOOS/GOARCH, so an
# arm64 image builds without emulation (QEMU) on an amd64 machine.
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS build
WORKDIR /src
COPY go.mod ./
COPY cmd/ingot-idle ./cmd/ingot-idle
Expand Down