Commit 9f898a45 authored by Konstantin Pavlov's avatar Konstantin Pavlov

Added libplacebo-ubuntu-eoan image.

parent de852c62
Pipeline #9567 failed with stage
in 7 minutes and 25 seconds
FROM ubuntu:eoan-20190916
ENV IMAGE_DATE=201909221840
# If someone wants to use VideoLAN docker images on a local machine and does
# not want to be disturbed by the videolan user, we should not take an uid/gid
# in the user range of main distributions, which means:
# - Debian based: <1000
# - RPM based: <500 (CentOS, RedHat, etc.)
ARG VIDEOLAN_UID=499
ENV SHADERC_BRANCH=v2019.0 \
GLSLANG_BRANCH=7.11.3214 \
SPIRV_TOOLS_BRANCH=v2019.2 \
SPIRV_HEADERS_BRANCH=master
RUN set -x && \
addgroup --quiet --gid ${VIDEOLAN_UID} videolan && \
adduser --quiet --uid ${VIDEOLAN_UID} --ingroup videolan videolan && \
usermod --append --groups video videolan && \
echo "videolan:videolan" | chpasswd && \
apt-get update && \
apt-get install --no-install-suggests --no-install-recommends -y \
git-core build-essential cmake clang clang-tools lcov \
python python3-pip python3-setuptools python3-wheel \
gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686 \
g++-mingw-w64-i686 mingw-w64-tools glslang-dev libvulkan-dev \
vulkan-validationlayers mesa-vulkan-drivers vulkan-tools \
liblcms2-dev gdb systemd-coredump && \
pip3 install meson ninja gcovr && \
apt-get clean -y && rm -rf /var/lib/apt/lists/* && \
cd /root && \
git clone --depth 1 -b ${SHADERC_BRANCH} https://github.com/google/shaderc && \
cd shaderc && \
git clone --depth 1 -b ${GLSLANG_BRANCH} https://github.com/KhronosGroup/glslang.git third_party/glslang && \
git clone --depth 1 -b ${SPIRV_TOOLS_BRANCH} https://github.com/KhronosGroup/SPIRV-Tools.git third_party/spirv-tools && \
git clone --depth 1 -b ${SPIRV_HEADERS_BRANCH} https://github.com/KhronosGroup/SPIRV-Headers.git third_party/spirv-headers && \
mkdir build && cd build && \
cmake -GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DSHADERC_SKIP_TESTS=1 \
.. && \
ninja && \
cp -a libshaderc*/libshaderc*.a /usr/local/lib && \
cp -a libshaderc*/libshaderc*.so* /usr/local/lib && \
cp -a ../libshaderc*/include /usr/local && \
ldconfig && \
cd /root && \
rm -rf shaderc
COPY crossfiles/ /opt/crossfiles/
USER videolan
[binaries]
c = 'i686-w64-mingw32-gcc'
cpp = 'i686-w64-mingw32-g++'
ar = 'i686-w64-mingw32-ar'
strip = 'i686-w64-mingw32-strip'
windres = 'i686-w64-mingw32-windres'
[properties]
c_link_args = ['-static-libgcc']
[host_machine]
system = 'windows'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'
[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
windres = 'x86_64-w64-mingw32-windres'
[properties]
c_link_args = ['-static-libgcc']
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment