-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
50 lines (41 loc) · 983 Bytes
/
Dockerfile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM ubuntu:latest
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive TZ="America/New_York" \
apt-get -y install tzdata
RUN apt-get update && apt-get install -y \
make \
binutils \
build-essential \
diffutils \
gcc \
g++ \
bash \
patch \
gzip \
bzip2 \
perl \
tar \
cpio \
unzip \
rsync \
file \
bc \
findutils \
wget \
python3 \
libncurses5-dev \
git \
python3-matplotlib \
graphviz \
git-lfs \
util-linux \
wpasupplicant
# add all buildroot files there
WORKDIR /home/odysseus/build
RUN git clone https://gitlab.com/buildroot.org/buildroot.git && cd ./buildroot && git checkout 2024.08.1
WORKDIR /home/odysseus/outputs/
COPY ./docker_scripts /home/odysseus/scripts
RUN echo "source /home/odysseus/scripts/setup_env.sh" >> ~/.bashrc
# install password using wildcard so failures arent deadly
COPY ./SECRETS.env.* /home/odysseus/
ENTRYPOINT "/bin/bash"