From cb8ce4d487c43caccefa624407a05bbc960935ba Mon Sep 17 00:00:00 2001 From: Misa Date: Fri, 12 Nov 2021 00:19:51 -0800 Subject: [PATCH] Update `Dockerfile` to SDL 2.0.20 Now that it is the minimum version, our CentOS container needs this updated version too. --- desktop_version/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/desktop_version/Dockerfile b/desktop_version/Dockerfile index fe127ac5..7a98295e 100644 --- a/desktop_version/Dockerfile +++ b/desktop_version/Dockerfile @@ -2,9 +2,9 @@ FROM centos:7 # run first to improve caching (other things update more often than SDL2) WORKDIR /tmp -RUN curl -O https://www.libsdl.org/release/SDL2-2.0.16.tar.gz -RUN tar -xf SDL2-2.0.16.tar.gz -RUN mkdir SDL2-2.0.16/build +RUN curl -O https://www.libsdl.org/release/SDL2-2.0.20.tar.gz +RUN tar -xf SDL2-2.0.20.tar.gz +RUN mkdir SDL2-2.0.20/build RUN curl -O https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz RUN tar -xf SDL2_mixer-2.0.4.tar.gz RUN mkdir SDL2_mixer-2.0.4/build @@ -25,7 +25,7 @@ RUN yum-builddep -y SDL2 RUN yum clean all -WORKDIR /tmp/SDL2-2.0.16/build +WORKDIR /tmp/SDL2-2.0.20/build RUN ../configure RUN make -j $(nproc) RUN make install @@ -36,6 +36,6 @@ RUN make -j $(nproc) RUN make install WORKDIR /tmp -RUN rm -rf SDL2-2.0.16.tar.gz SDL2-2.0.16/ SDL2_mixer-2.0.4.tar.gz SDL2_mixer-2.0.4/ +RUN rm -rf SDL2-2.0.20.tar.gz SDL2-2.0.20/ SDL2_mixer-2.0.4.tar.gz SDL2_mixer-2.0.4/ WORKDIR /