Fix dockerfile syntax

This commit is contained in:
dcvz 2024-05-19 14:01:16 +02:00
parent 912acbf96d
commit 4f093a32d0
1 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,6 @@ ARG INSTALL_SDL2_VERSION_FROM_SOURCE="2.26.1"
COPY ./install-sdl2.sh /tmp/ COPY ./install-sdl2.sh /tmp/
RUN if [ "${INSTALL_SDL2_VERSION_FROM_SOURCE}" != "none" ]; then \ RUN if [ "${INSTALL_SDL2_VERSION_FROM_SOURCE}" != "none" ]; then \
chmod +x /tmp/install-sdl2.sh && /tmp/install-sdl2.sh ${INSTALL_SDL2_VERSION_FROM_SOURCE}; \ chmod +x /tmp/install-sdl2.sh && /tmp/install-sdl2.sh ${INSTALL_SDL2_VERSION_FROM_SOURCE}; \
fi \ fi \
&& rm -f /tmp/install-sdl2.sh \ && rm -f /tmp/install-sdl2.sh