add Dockerfile and build script for OpenClaw image
parent
26190c21db
commit
b6caa6e7d4
@ -0,0 +1,15 @@
|
|||||||
|
FROM ghcr.io/openclaw/openclaw:latest
|
||||||
|
USER root
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
python3-pip \
|
||||||
|
jq \
|
||||||
|
gh \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir --break-system-packages \
|
||||||
|
google-auth \
|
||||||
|
google-auth-oauthlib \
|
||||||
|
google-api-python-client \
|
||||||
|
uv
|
||||||
|
|
||||||
|
USER node
|
||||||
@ -0,0 +1 @@
|
|||||||
|
3
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash -e
|
||||||
|
|
||||||
|
VERSION_FILE=VERSION
|
||||||
|
current=$(cat $VERSION_FILE)
|
||||||
|
tag=$((current + 1))
|
||||||
|
docker buildx build --platform linux/amd64,linux/arm64 -t docker.bassengvegen.com/openclaw:${tag} .
|
||||||
|
docker push docker.bassengvegen.com/openclaw:${tag}
|
||||||
|
echo $tag > $VERSION_FILE
|
||||||
Loading…
Reference in New Issue