forked from netbootxyz/pipxe
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
37 lines (33 loc) · 826 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
FROM ubuntu:22.04
RUN true \
&& apt-get update \
&& apt-get install -y software-properties-common \
&& apt-add-repository universe \
&& apt-get update \
&& apt-get install -y -o Acquire::Retries=50 \
binutils \
build-essential \
g++ \
gcc \
gcc-aarch64-linux-gnu \
gcc-x86-64-linux-gnu \
git-core \
iasl \
make \
perl \
python-is-python3 \
liblzma-dev \
lzma-dev \
uuid-dev \
zip \
wget \
&& true
# mtools version 4.0.32 in the ubuntu repo as of 2022-03-26 does not work, so let's download a working version manually
RUN \
wget https://ftp.gnu.org/gnu/mtools/mtools_4.0.38_amd64.deb \
&& dpkg -i mtools_4.0.38_amd64.deb \
&& true
RUN mkdir -p /opt/build
RUN ln -sf /bin/bash /bin/sh
WORKDIR /opt/build
CMD ["make", "-j8"]