Skip to content

Commit 6493905

Browse files
author
napan.vijayvargiya
committed
reverted .devcontainer dockerfile
1 parent 4d9dda4 commit 6493905

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,25 @@
22
FROM --platform=${BUILDPLATFORM} golang:1.24 AS migrate-builder
33
ARG TARGETOS
44
ARG TARGETARCH
5-
# GOBIN must NOT be set when cross-compiling — Go refuses it.
65
ENV 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

1613
FROM mcr.microsoft.com/devcontainers/universal:2
1714

1815
# Install golang-migrate for database migrations
1916
COPY --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
2522
RUN 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

0 commit comments

Comments
 (0)