mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Co-authored-by: Electroid <Electroid@users.noreply.github.com> Co-authored-by: Meghan Denny <meghan@bun.sh>
19 lines
417 B
Docker
19 lines
417 B
Docker
ARG IMAGE=debian:11
|
|
FROM $IMAGE
|
|
COPY ./scripts/bootstrap.sh /tmp/bootstrap.sh
|
|
ENV CI=true
|
|
RUN sh /tmp/bootstrap.sh && rm -rf /tmp/*
|
|
WORKDIR /workspace/bun
|
|
COPY bunfig.toml bunfig.toml
|
|
COPY package.json package.json
|
|
COPY CMakeLists.txt CMakeLists.txt
|
|
COPY cmake/ cmake/
|
|
COPY scripts/ scripts/
|
|
COPY patches/ patches/
|
|
COPY *.zig ./
|
|
COPY src/ src/
|
|
COPY packages/ packages/
|
|
COPY test/ test/
|
|
RUN bun i
|
|
RUN bun run build:ci
|