2024-02-04 20:38:17 +01:00
|
|
|
FROM debian:bullseye AS lindbergh-build
|
2024-01-18 01:42:45 +01:00
|
|
|
|
|
|
|
RUN dpkg --add-architecture i386 \
|
|
|
|
&& apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
build-essential \
|
|
|
|
freeglut3-dev:i386 \
|
|
|
|
freeglut3:i386 \
|
|
|
|
gcc-multilib \
|
|
|
|
libglew-dev \
|
|
|
|
libopenal-dev:i386 \
|
|
|
|
libopenal1:i386 \
|
|
|
|
libstdc++5:i386 \
|
|
|
|
libxmu6:i386 \
|
2024-03-03 23:17:03 +01:00
|
|
|
libasound2-dev:i386 \
|
2024-01-18 01:42:45 +01:00
|
|
|
wget \
|
|
|
|
xorg-dev \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
WORKDIR /xenial-libs
|
|
|
|
RUN wget -q http://launchpadlibrarian.net/534757982/multiarch-support_2.23-0ubuntu11.3_i386.deb \
|
|
|
|
&& dpkg -i multiarch-support_2.23-0ubuntu11.3_i386.deb
|
|
|
|
RUN wget -q http://launchpadlibrarian.net/184146495/libalut0_1.1.0-5_i386.deb \
|
|
|
|
&& dpkg -i libalut0_1.1.0-5_i386.deb
|
|
|
|
RUN wget -q http://launchpadlibrarian.net/184146496/libalut-dev_1.1.0-5_i386.deb \
|
|
|
|
&& dpkg -i libalut-dev_1.1.0-5_i386.deb
|
|
|
|
|
|
|
|
WORKDIR /lindbergh-loader
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN make
|
|
|
|
|
|
|
|
# Output binaries of build using the --output=PATH argument
|
|
|
|
FROM scratch AS binaries
|
|
|
|
COPY --from=lindbergh-build /lindbergh-loader/build/* /
|