-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
45 lines (43 loc) · 935 Bytes
/
Dockerfile
File metadata and controls
45 lines (43 loc) · 935 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM --platform=amd64 debian AS base
RUN apt-get update && \
apt-get install \
apt-utils \
-y && \
apt-get install \
apt-utils \
automake \
bash \
binutils \
bison \
coreutils \
cppcheck \
curl \
flex \
gcc \
gcc-multilib \
gdisk \
git \
grep \
gzip \
m4 \
make \
mtools \
nasm \
python3-pkg-resources \
python3-pygments \
sed \
xorriso \
-y
FROM base AS limine
WORKDIR /opt
ARG LIMINE_REPO="https://codeberg.org/Limine/Limine.git"
ARG LIMINE_BRANCH="v10.x-binary"
RUN set -eux; \
git clone "${LIMINE_REPO}" --branch "${LIMINE_BRANCH}" --depth=1 limine || { \
rm -rf limine; \
git clone https://github.com/limine-bootloader/limine.git --branch=v8.x-binary --depth=1 limine; \
}
WORKDIR /opt/limine
RUN make
ENV PATH="/opt/limine:${PATH}"
ADD . /mnt