-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (22 loc) · 916 Bytes
/
Copy pathDockerfile
File metadata and controls
28 lines (22 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM fedora:43
RUN dnf install -y \
gcc-c++ \
arm-none-eabi-gcc-cs \
arm-none-eabi-gcc-cs-c++ \
arm-none-eabi-binutils-cs \
arm-none-eabi-newlib \
cmake \
curl \
unzip
# Install Bun (TypeScript runtime for config generator), pinned to match CI (deploy-web.yml)
RUN curl -fsSL https://bun.sh/install | bash -s "bun-v1.3.14"
ENV PATH="/root/.bun/bin:${PATH}"
# Run the build script from the mounted source tree (not a baked-in copy) so that
# edits to docker_build.sh take effect without rebuilding the image. The source is
# mounted at /usr/local/src/RS41ng by the build-firmware.sh / build-firmware.bat wrappers.
ENTRYPOINT ["/bin/bash", "/usr/local/src/RS41ng/docker_build.sh"]
# FROM debian:bookworm-slim
# RUN apt-get -y update && \
# apt-get -y install \
# build-essential cmake gcc-arm-none-eabi
# ENTRYPOINT ["/bin/bash", "/usr/local/src/RS41ng/docker_build.sh"]