File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22FROM --platform=${BUILDPLATFORM} golang:1.24 AS migrate-builder
33ARG TARGETOS
44ARG TARGETARCH
5- # GOBIN must NOT be set when cross-compiling — Go refuses it.
65ENV CGO_ENABLED=0 \
6+ GOBIN=/out \
77 GOOS=${TARGETOS} \
88 GOARCH=${TARGETARCH}
99# Build only the ClickHouse migrate CLI used in this repo.
10- RUN go install -trimpath -tags 'clickhouse' -ldflags='-s -w' \
11- github.com/golang-migrate/migrate/v4/cmd/migrate@v4.19.1 && \
12- mkdir -p /out && \
13- (cp "$(go env GOPATH)/bin/${GOOS}_${GOARCH}/migrate" /out/migrate 2>/dev/null || \
14- cp "$(go env GOPATH)/bin/migrate" /out/migrate)
10+ RUN /usr/local/go/bin/go install -trimpath -tags 'clickhouse' -ldflags='-s -w' \
11+ github.com/golang-migrate/migrate/v4/cmd/migrate@v4.19.1
1512
1613FROM mcr.microsoft.com/devcontainers/universal:2
1714
1815# Install golang-migrate for database migrations
1916COPY --from=migrate-builder /out/migrate /usr/local/bin/migrate
2017
2118# Activate the repo's pinned pnpm via Corepack
22- RUN corepack enable && corepack prepare pnpm@10.33.0 --activate
19+ RUN corepack enable && corepack prepare pnpm@11.1.3 --activate
2320
2421# Install Clickhouse
2522RUN curl https://clickhouse.com/ | sh && \
2623 sudo ./clickhouse install
2724
2825# Install agent CLIs used in this repo
29- RUN npm install -g @anthropic-ai/claude-code @openai/codex
26+ RUN npm install -g @anthropic-ai/claude-code @openai/codex
You can’t perform that action at this time.
0 commit comments