Some checks failed
Test / test-frontend (pull_request) Successful in 43s
Test / lint-frontend (pull_request) Successful in 47s
Verify / get-ci-image (pull_request) Successful in 47s
Test / frontend-build (pull_request) Successful in 1m29s
Verify / verify-generated-db-entities (pull_request) Has been cancelled
Test / test-crates (pull_request) Has been cancelled
Test / lint-crates (pull_request) Has been cancelled
32 lines
769 B
Docker
32 lines
769 B
Docker
FROM node:24-bookworm-slim
|
|
|
|
# Install necessary dependencies for building Rust projects and running tests
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
git \
|
|
zstd \
|
|
build-essential \
|
|
pkg-config \
|
|
libssl-dev \
|
|
gnupg \
|
|
unzip \
|
|
tar \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
postgresql-client \
|
|
protobuf-compiler \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# install bun
|
|
RUN curl -fsSL https://bun.sh/install | bash
|
|
ENV PATH="/root/.bun/bin:${PATH}"
|
|
|
|
# install rust and cargo
|
|
RUN apt-get update && apt-get install -y curl build-essential
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
|
# Set the working directory
|
|
WORKDIR /app
|