2026-03-08 17:57:46 -07:00
|
|
|
# syntax=docker/dockerfile:1.7
|
|
|
|
|
|
2026-03-12 15:09:23 +03:00
|
|
|
FROM node:24-bookworm-slim@sha256:b4687aef2571c632a1953695ce4d61d6462a7eda471fe6e272eebf0418f276ba
|
2026-01-11 10:20:50 +00:00
|
|
|
|
2026-03-08 17:57:46 -07:00
|
|
|
RUN --mount=type=cache,id=openclaw-install-sh-e2e-apt-cache,target=/var/cache/apt,sharing=locked \
|
|
|
|
|
--mount=type=cache,id=openclaw-install-sh-e2e-apt-lists,target=/var/lib/apt,sharing=locked \
|
|
|
|
|
apt-get update \
|
2026-01-11 10:20:50 +00:00
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
|
bash \
|
|
|
|
|
ca-certificates \
|
|
|
|
|
curl \
|
2026-03-08 17:57:46 -07:00
|
|
|
git
|
2026-01-11 10:20:50 +00:00
|
|
|
|
2026-03-08 19:10:48 +03:00
|
|
|
COPY install-sh-common/version-parse.sh /usr/local/install-sh-common/version-parse.sh
|
2026-03-08 16:07:04 -07:00
|
|
|
COPY --chmod=755 run.sh /usr/local/bin/openclaw-install-e2e
|
2026-01-11 10:20:50 +00:00
|
|
|
|
2026-02-20 12:45:34 -06:00
|
|
|
RUN useradd --create-home --shell /bin/bash appuser
|
|
|
|
|
USER appuser
|
|
|
|
|
|
2026-01-30 03:15:10 +01:00
|
|
|
ENTRYPOINT ["/usr/local/bin/openclaw-install-e2e"]
|