-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (18 loc) · 886 Bytes
/
Copy pathDockerfile
File metadata and controls
26 lines (18 loc) · 886 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
FROM debian:12
WORKDIR /
# Install dependencies.
RUN apt-get update && DEBIAN_FRONTEND=noninteractive\
apt-get install -y build-essential libncurses5-dev rsync cpio python3 python-is-python3 unzip bc wget file git \
htop nano mc && \
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
# Install Buildroot. NOTICE: update tag in .github/workflows/docker.yml when changing the version here!
RUN wget -nv https://buildroot.org/downloads/buildroot-2024.02.1.tar.gz &&\
tar xf buildroot-*.tar* &&\
rm buildroot-*.tar* &&\
mv buildroot-* buildroot
LABEL org.buildroot.version="2024.02.1"
VOLUME [ "/buildroot/dl", "/buildroot/output" ]
ENTRYPOINT [ "/bin/bash" ]
# build: docker build -t buildroot .
# use: docker run --name buildroot -itd buildroot:latest
# use prebuilt: docker run --name buildroot -itd davidindracz/buildroot-base:latest