-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (28 loc) · 752 Bytes
/
Dockerfile
File metadata and controls
33 lines (28 loc) · 752 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
# Dockerfile für NaoKernel Kompilierung
# Explizit x86_64 Platform für i386-Kompilierung
ARG TARGETPLATFORM=linux/amd64
FROM --platform=$TARGETPLATFORM ubuntu:22.04
# Vermeide interaktive Prompts während der Installation
ENV DEBIAN_FRONTEND=noninteractive
# Arbeitsverzeichnis festlegen
WORKDIR /naokernel
# System-Update und Installation der Dependencies
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
build-essential \
git \
curl \
wget \
make \
gcc \
g++ \
nasm \
qemu-system-x86 \
gcc-multilib \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Quellcode in den Container kopieren
COPY . .
# Standard-Command: Build-Script ausführen
CMD ["bash", "build.sh"]