From f6ff6c8b448187ff2733916d4cf23916268cdd36 Mon Sep 17 00:00:00 2001 From: Gustavo Muniz <39814943+Guztaver@users.noreply.github.com> Date: Fri, 19 Jan 2024 02:27:03 -0300 Subject: [PATCH] Improvements to the Dockerfile I added the `pkg-config` that is missing in the Dockerfile, and make the git clone the repository direct from the image, so the user don't need to clone it manually and after that pulls inside the Dockerfile! --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8fd5fbed..97d815f48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,12 @@ FROM ubuntu:20.04 as builder RUN DEBIAN_FRONTEND="noninteractive" apt-get update RUN DEBIAN_FRONTEND="noninteractive" apt install -y cmake \ -clang-10 llvm-10 nasm ninja-build \ -libcap-dev libglfw3-dev libepoxy-dev python3-dev \ -python3 linux-headers-generic +clang-10 llvm-10 nasm ninja-build pkg-config \ +libcap-dev libglfw3-dev libepoxy-dev python3-dev libsdl2-dev \ +python3 linux-headers-generic \ +git -COPY . /opt/FEX +RUN git clone --recurse-submodules https://github.com/FEX-Emu/FEX.git CMD [ "mkdir /opt/FEX/build" ]