crs0910 commited on
Commit
c079b6f
·
verified ·
1 Parent(s): 885a38e

magpie: pin v0.1.1254 (updated from the web UI)

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,11 +1,11 @@
1
- # ---- build magpie v0.1.1248 (terminal-only, no GUI) ----
2
  FROM golang:1.26-bookworm AS builder
3
  RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates && rm -rf /var/lib/apt/lists/*
4
  WORKDIR /src
5
- RUN git clone --depth 1 --branch v0.1.1248 https://github.com/yetone/magpie .
6
  RUN go mod download
7
  RUN CGO_ENABLED=0 go build -tags nogui -trimpath \
8
- -ldflags "-s -w -X main.version=v0.1.1248" -o /out/magpie .
9
 
10
  # ---- caddy (single-port reverse proxy: gateway API + web UI) ----
11
  FROM debian:bookworm-slim AS caddy
@@ -41,5 +41,5 @@ ENV TZ=Asia/Shanghai \
41
  XDG_STATE_HOME=/config/state \
42
  MAGPIE_ADDR=127.0.0.1:3425 \
43
  MAGPIE_BUN=/usr/local/bin/bun \
44
- MAGPIE_PINNED_VERSION=v0.1.1248
45
  CMD ["/app/start.sh"]
 
1
+ # ---- build magpie v0.1.1254 (terminal-only, no GUI) ----
2
  FROM golang:1.26-bookworm AS builder
3
  RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates && rm -rf /var/lib/apt/lists/*
4
  WORKDIR /src
5
+ RUN git clone --depth 1 --branch v0.1.1254 https://github.com/yetone/magpie .
6
  RUN go mod download
7
  RUN CGO_ENABLED=0 go build -tags nogui -trimpath \
8
+ -ldflags "-s -w -X main.version=v0.1.1254" -o /out/magpie .
9
 
10
  # ---- caddy (single-port reverse proxy: gateway API + web UI) ----
11
  FROM debian:bookworm-slim AS caddy
 
41
  XDG_STATE_HOME=/config/state \
42
  MAGPIE_ADDR=127.0.0.1:3425 \
43
  MAGPIE_BUN=/usr/local/bin/bun \
44
+ MAGPIE_PINNED_VERSION=v0.1.1254
45
  CMD ["/app/start.sh"]