Skip to content

Commit

Permalink
Improvements to the Dockerfile
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
Guztaver authored Jan 19, 2024
1 parent 6efc4a9 commit f6ff6c8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

Expand Down

0 comments on commit f6ff6c8

Please sign in to comment.