mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Update Dockerfile
to SDL 2.0.16
This is so future CentOS images will be generated with the new SDL version.
This commit is contained in:
parent
c94d04a932
commit
9926d15465
1 changed files with 5 additions and 5 deletions
|
@ -2,9 +2,9 @@ FROM centos:7
|
||||||
|
|
||||||
# run first to improve caching (other things update more often than SDL2)
|
# run first to improve caching (other things update more often than SDL2)
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN curl -O https://www.libsdl.org/release/SDL2-2.0.14.tar.gz
|
RUN curl -O https://www.libsdl.org/release/SDL2-2.0.16.tar.gz
|
||||||
RUN tar -xf SDL2-2.0.14.tar.gz
|
RUN tar -xf SDL2-2.0.16.tar.gz
|
||||||
RUN mkdir SDL2-2.0.14/build
|
RUN mkdir SDL2-2.0.16/build
|
||||||
RUN curl -O https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz
|
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 tar -xf SDL2_mixer-2.0.4.tar.gz
|
||||||
RUN mkdir SDL2_mixer-2.0.4/build
|
RUN mkdir SDL2_mixer-2.0.4/build
|
||||||
|
@ -25,7 +25,7 @@ RUN yum-builddep -y SDL2
|
||||||
|
|
||||||
RUN yum clean all
|
RUN yum clean all
|
||||||
|
|
||||||
WORKDIR /tmp/SDL2-2.0.14/build
|
WORKDIR /tmp/SDL2-2.0.16/build
|
||||||
RUN ../configure
|
RUN ../configure
|
||||||
RUN make -j $(nproc)
|
RUN make -j $(nproc)
|
||||||
RUN make install
|
RUN make install
|
||||||
|
@ -36,6 +36,6 @@ RUN make -j $(nproc)
|
||||||
RUN make install
|
RUN make install
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN rm -rf SDL2-2.0.14.tar.gz SDL2-2.0.14/ SDL2_mixer-2.0.4.tar.gz SDL2_mixer-2.0.4/
|
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/
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
Loading…
Reference in a new issue