feature/ci (#84)
Co-authored-by: openhands <openhands@all-hands.dev> Reviewed-on: https://codeberg.org/johba/harb/pulls/84
This commit is contained in:
parent
beefe22f90
commit
4277f19b68
41 changed files with 3149 additions and 298 deletions
28
docker/Dockerfile.playwright-ci
Normal file
28
docker/Dockerfile.playwright-ci
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# syntax=docker/dockerfile:1.6
|
||||
|
||||
FROM mcr.microsoft.com/playwright:v1.56.0-jammy
|
||||
|
||||
LABEL org.opencontainers.image.source="https://codeberg.org/johba/harb-ci"
|
||||
LABEL org.opencontainers.image.description="Playwright + Docker image for Harb Stack end-to-end CI"
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive \
|
||||
PNPM_HOME=/root/.local/share/pnpm \
|
||||
PATH=/root/.local/share/pnpm:/root/.local/bin:$PATH
|
||||
|
||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
ca-certificates \
|
||||
jq \
|
||||
curl && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN corepack enable && \
|
||||
corepack prepare pnpm@8.15.4 --activate && \
|
||||
corepack prepare yarn@1.22.19 --activate
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
CMD ["bash"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue