Update SDL version to 2.0.22

2.0.22 just released 40 minutes ago.

This also updates the `Dockerfile` to use the URL from the GitHub
releases page, instead of SDL's servers.

I've also pushed a new Docker container to
`ghcr.io/infoteddy/vvvvvv-build`.
This commit is contained in:
Misa
2022-04-25 12:59:39 -07:00
committed by Misa Elizabeth Kai
parent 8bece4f6aa
commit eb46143098
3 changed files with 9 additions and 9 deletions

View File

@@ -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.20.tar.gz
RUN tar -xf SDL2-2.0.20.tar.gz
RUN mkdir SDL2-2.0.20/build
RUN curl -LJO https://github.com/libsdl-org/SDL/releases/download/release-2.0.22/SDL2-2.0.22.tar.gz
RUN tar -xf SDL2-2.0.22.tar.gz
RUN mkdir SDL2-2.0.22/build
# add EPEL (for SDL2)
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
@@ -20,12 +20,12 @@ RUN yum-builddep -y SDL2
RUN yum clean all
WORKDIR /tmp/SDL2-2.0.20/build
WORKDIR /tmp/SDL2-2.0.22/build
RUN ../configure
RUN make -j $(nproc)
RUN make install
WORKDIR /tmp
RUN rm -rf SDL2-2.0.20.tar.gz SDL2-2.0.20/
RUN rm -rf SDL2-2.0.22.tar.gz SDL2-2.0.22/
WORKDIR /