mlclaw 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +5 -6
- package/dist/mlclaw.mjs +5 -6
- package/package.json +1 -1
package/Dockerfile
CHANGED
|
@@ -2,17 +2,16 @@ ARG OPENCLAW_VERSION=2026.7.1-beta.5
|
|
|
2
2
|
ARG OPENCLAW_BASE_IMAGE=ghcr.io/openclaw/openclaw:${OPENCLAW_VERSION}
|
|
3
3
|
ARG BROKERKIT_PLUGIN_VERSION=0.1.0
|
|
4
4
|
ARG BROKERKIT_VERSION=fcfc5f2304436d952b18e7c9583bb378d1952776
|
|
5
|
-
ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/osolmaz/mlclaw:0.3.
|
|
6
|
-
ARG HF_BROKER_VERSION=bb65192b4dca845289427e63e1d5fa72f64914d8
|
|
5
|
+
ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/osolmaz/mlclaw:0.3.1-openclaw-2026.7.1-beta.5
|
|
7
6
|
|
|
8
7
|
FROM golang:1.26.5-bookworm AS hf-broker-build
|
|
9
|
-
ARG
|
|
8
|
+
ARG BROKERKIT_VERSION
|
|
10
9
|
RUN git init /src \
|
|
11
|
-
&& git -C /src fetch --depth=1 https://github.com/osolmaz/
|
|
10
|
+
&& git -C /src fetch --depth=1 https://github.com/osolmaz/brokerkit.git "$BROKERKIT_VERSION" \
|
|
12
11
|
&& git -C /src checkout --detach FETCH_HEAD \
|
|
13
|
-
&& test "$(git -C /src rev-parse HEAD)" = "$
|
|
12
|
+
&& test "$(git -C /src rev-parse HEAD)" = "$BROKERKIT_VERSION" \
|
|
14
13
|
&& cd /src \
|
|
15
|
-
&& GOWORK=off go build -trimpath -o /out/hf-broker ./cmd/hf-broker
|
|
14
|
+
&& GOWORK=off go build -trimpath -o /out/hf-broker ./brokers/huggingface/cmd/hf-broker
|
|
16
15
|
|
|
17
16
|
FROM node:24-bookworm-slim AS brokerkit-plugin-build
|
|
18
17
|
ARG BROKERKIT_VERSION
|
package/dist/mlclaw.mjs
CHANGED
|
@@ -14976,18 +14976,17 @@ function imageDockerfile(runtimeImage) {
|
|
|
14976
14976
|
`;
|
|
14977
14977
|
}
|
|
14978
14978
|
function bundledDockerfile() {
|
|
14979
|
-
return `ARG
|
|
14980
|
-
ARG BROKERKIT_PLUGIN_VERSION=${BROKERKIT_PLUGIN_VERSION}
|
|
14979
|
+
return `ARG BROKERKIT_PLUGIN_VERSION=${BROKERKIT_PLUGIN_VERSION}
|
|
14981
14980
|
ARG BROKERKIT_VERSION=${BROKERKIT_VERSION}
|
|
14982
14981
|
|
|
14983
14982
|
FROM golang:1.26.5-bookworm AS hf-broker-build
|
|
14984
|
-
ARG
|
|
14983
|
+
ARG BROKERKIT_VERSION
|
|
14985
14984
|
RUN git init /src \\
|
|
14986
|
-
&& git -C /src fetch --depth=1 https://github.com/osolmaz/
|
|
14985
|
+
&& git -C /src fetch --depth=1 https://github.com/osolmaz/brokerkit.git "$BROKERKIT_VERSION" \\
|
|
14987
14986
|
&& git -C /src checkout --detach FETCH_HEAD \\
|
|
14988
|
-
&& test "$(git -C /src rev-parse HEAD)" = "$
|
|
14987
|
+
&& test "$(git -C /src rev-parse HEAD)" = "$BROKERKIT_VERSION" \\
|
|
14989
14988
|
&& cd /src \\
|
|
14990
|
-
&& GOWORK=off go build -trimpath -o /out/hf-broker ./cmd/hf-broker
|
|
14989
|
+
&& GOWORK=off go build -trimpath -o /out/hf-broker ./brokers/huggingface/cmd/hf-broker
|
|
14991
14990
|
|
|
14992
14991
|
FROM node:24-bookworm-slim AS brokerkit-plugin-build
|
|
14993
14992
|
ARG BROKERKIT_VERSION
|