Skip to content

Commit e547138

Browse files
leifericfclaude
andcommitted
fix(docker): add git to build stage so deps.edn :git/tag clj-p4 resolves
v0.11.0 switched the clj-p4 coordinate from :local/root to {:git/tag "v0.6.1-alpha"}, so `clojure -T:build uber` inside the Dockerfile's build stage now needs to git-clone the dependency. The build stage's apk install was curl + bash — no git — so the release workflow's docker job failed at the uber step. The runtime stage already had git for noumenon's own clone-and-import path; the build stage now matches. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6b11b64 commit e547138

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Fixes
6+
7+
- **Docker image build adds `git` to the build stage** — the v0.11.0 release pushed clj-p4 from `:local/root` to `{:git/tag "v0.6.1-alpha"}`, so `clojure -T:build uber` now needs to clone the dependency via git inside the build container. The build stage's `apk add --no-cache curl bash` did not include git, so the docker job in the release workflow failed at `clojure -T:build uber` with a tools.deps git-clone error. The runtime stage already had git for noumenon's own clone-and-import workflow; the build stage now matches.
8+
59
## 0.11.0
610

711
### Changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build stage
22
FROM eclipse-temurin:21-jdk-alpine AS build
33
WORKDIR /build
4-
RUN apk add --no-cache curl bash
4+
RUN apk add --no-cache curl bash git
55
# Download Clojure installer and verify checksum before executing
66
RUN curl -sSL -o /tmp/clj-install.sh https://download.clojure.org/install/linux-install-1.12.0.1530.sh \
77
&& echo "2a113e3a4f1005e05f4d6a6dee24ca317b0115cdd7e6ca6155a76f5ffa5ba35b /tmp/clj-install.sh" | sha256sum -c - \

0 commit comments

Comments
 (0)