Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

fix(release): skip tailwind download in docker builds

AkitaOnRails21ce61213f78
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 796d88be..68912963 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Docker release publishing now reuses the prebuilt Linux x86_64 release
artifact for the amd64 image and smoke-tests both amd64 and arm64 images
after assembling the multi-arch manifest.
+- Docker source builds now use the vendored Tailwind CSS artifact, avoiding
+ cross-architecture Tailwind CLI cache collisions during multi-arch releases.
## [0.5.0] - 2026-05-27
### Fixed
diff --git a/crates/ai-memory-cli/tests/packaging.rs b/crates/ai-memory-cli/tests/packaging.rs
index 3ccf7007..a360f1b4 100644
--- a/crates/ai-memory-cli/tests/packaging.rs
+++ b/crates/ai-memory-cli/tests/packaging.rs
@@ -67,3 +67,9 @@ fn aur_packages_install_all_native_assets() {
assert!(install.contains("sudo -u ai-memory ai-memory --data-dir /var/lib/ai-memory"));
assert!(!install.contains("sudo ai-memory --data-dir /var/lib/ai-memory"));
}
+
+#[test]
+fn docker_source_build_uses_vendored_tailwind() {
+ let dockerfile = read_repo("docker/Dockerfile");
+ assert!(dockerfile.contains("TAILWIND_SKIP=1 cargo build --release -p ai-memory-cli"));
+}
diff --git a/docker/Dockerfile b/docker/Dockerfile
index a002a05c..7a3cdc86 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -28,7 +28,7 @@ COPY evals ./evals
COPY docs ./docs
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/work/target \
- cargo build --release -p ai-memory-cli \
+ TAILWIND_SKIP=1 cargo build --release -p ai-memory-cli \
&& cp target/release/ai-memory /usr/local/bin/ai-memory
FROM debian:bookworm-slim AS runtime-base