Commit cb0c4667 authored by Niklas Haas's avatar Niklas Haas

libplacebo-ubuntu-focal: add new image

eoan is EOL, focal is the new LTS.

Rather than just bumping all the versions by hand yet again, I decided
to fundamentally rewrite this Dockerfile to use the vulkan sdk focal
repository, which has packages for eveything we need, and should solve
the issue of needing to make sure we pick the correct versions to
prevent stuff from exploding.
parent d0fd8d56
Pipeline #55707 passed with stage
in 4 minutes and 26 seconds
FROM ubuntu:focal-20201106
ENV IMAGE_DATE=202012020300
# 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 SDK_VERSION=1.2.154
RUN set -x && \
ln -fs /usr/share/zoneinfo/UTC /etc/localtime && \
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 \
apt-utils git-core build-essential gnupg clang clang-tools gdb lcov \
python python3-pip python3-setuptools python3-wheel python3-mako \
libepoxy-dev liblcms2-dev libavutil-dev curl mesa-vulkan-drivers \
gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686 \
g++-mingw-w64-i686 mingw-w64-tools systemd-coredump && \
pip3 install meson ninja gcovr && \
curl -s https://packages.lunarg.com/lunarg-signing-key-pub.asc | apt-key add - && \
echo "deb https://packages.lunarg.com/vulkan/${SDK_VERSION} focal main" > /etc/apt/sources.list.d/lunarg-vulkan-focal.list && \
apt-get update && \
apt-get install --no-install-suggests --no-install-recommends -y \
vulkan-headers libvulkan-dev vulkan-validationlayers \
vulkan-tools lunarg-vulkan-layers glslang-dev shaderc && \
apt-get clean -y && rm -rf /var/lib/apt/lists/*
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