mirror of
https://github.com/azahar-emu/build-environment
synced 2025-11-07 07:30:01 +01:00
Build environment update
- Now based on Debian 12 Slim - Now uses glibc 2.36 (previously 2.38) - Now explicitly installs libc++ 18
This commit is contained in:
parent
42d33d36f3
commit
2c8e9df660
13
Dockerfile
13
Dockerfile
@ -1,11 +1,20 @@
|
|||||||
FROM ubuntu:24.04
|
FROM debian:12-slim
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# Create a user account lime (UID 1027) that the container will run as
|
# Create a user account lime (UID 1027) that the container will run as
|
||||||
RUN useradd -m -u 1027 -s /bin/bash lime
|
RUN useradd -m -u 1027 -s /bin/bash lime
|
||||||
|
|
||||||
|
# Update repos + upgrade system
|
||||||
RUN apt-get update && apt-get -y full-upgrade
|
RUN apt-get update && apt-get -y full-upgrade
|
||||||
|
|
||||||
|
# Add LLVM repo
|
||||||
|
RUN echo "deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-18 main" >> /etc/apt/sources.list
|
||||||
|
RUN apt-get install -y gnupg wget
|
||||||
|
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
# Install package dependencies
|
||||||
RUN apt-get install -y \
|
RUN apt-get install -y \
|
||||||
# Tools
|
# Tools
|
||||||
build-essential \
|
build-essential \
|
||||||
@ -16,13 +25,13 @@ RUN apt-get install -y \
|
|||||||
curl \
|
curl \
|
||||||
file \
|
file \
|
||||||
git \
|
git \
|
||||||
|
libc++-18-dev \
|
||||||
lld \
|
lld \
|
||||||
llvm-18 \
|
llvm-18 \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
unzip \
|
unzip \
|
||||||
wget \
|
|
||||||
zip \
|
zip \
|
||||||
# FFmpeg
|
# FFmpeg
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user