-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (31 loc) · 1.11 KB
/
Copy pathDockerfile
File metadata and controls
35 lines (31 loc) · 1.11 KB
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
# ExigeOS build environment
#
# This image contains all tools needed to compile ExigeOS for both
# supported platforms (x86 and Raspberry Pi 3B) without installing
# anything on your local machine.
#
# Usage:
# docker pull ghcr.io/loicguillois/exigeos:latest
#
# # Build for x86
# docker run --rm -v "$PWD":/src ghcr.io/loicguillois/exigeos make PLATFORM=x86
#
# # Build for RPi3
# docker run --rm -v "$PWD":/src ghcr.io/loicguillois/exigeos make PLATFORM=rpi3
FROM ubuntu:22.04
LABEL org.opencontainers.image.title="ExigeOS build environment"
LABEL org.opencontainers.image.description="Cross-compilation toolchain for ExigeOS (x86 + Raspberry Pi 3B)"
LABEL org.opencontainers.image.source="https://github.com/loicguillois/ExigeOS"
LABEL org.opencontainers.image.licenses="MIT"
RUN apt-get update -qq && \
apt-get install -y --no-install-recommends \
gcc \
libc6-dev-i386 \
nasm \
binutils \
gcc-aarch64-linux-gnu \
binutils-aarch64-linux-gnu \
make \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /src