From 543be016544dfd735408f4285e6cdc8ad6b52014 Mon Sep 17 00:00:00 2001 From: realtradam Date: Sat, 15 Jun 2024 15:50:13 -0400 Subject: make docker file work with caprover --- 0.1.2/cli/Dockerfile | 39 --------------------------------------- 0.2.0/cli/Dockerfile | 39 --------------------------------------- 0.2.1/cli/Dockerfile | 39 --------------------------------------- 0.2.2/cli/Dockerfile | 39 --------------------------------------- 0.2.3/cli/Dockerfile | 39 --------------------------------------- 0.2.4/cli/Dockerfile | 39 --------------------------------------- 0.2.5/cli/Dockerfile | 40 ---------------------------------------- 0.2.6/cli/Dockerfile | 40 ---------------------------------------- 0.3.0/cli/Dockerfile | 41 ----------------------------------------- 0.3.1/cli/Dockerfile | 41 ----------------------------------------- 0.3.2/cli/Dockerfile | 41 ----------------------------------------- 0.3.3/cli/Dockerfile | 41 ----------------------------------------- 0.3.4.1/cli/Dockerfile | 41 ----------------------------------------- 0.3.4/cli/Dockerfile | 41 ----------------------------------------- 0.3.5.1/cli/Dockerfile | 41 ----------------------------------------- 0.3.5/cli/Dockerfile | 41 ----------------------------------------- 0.4.0/cli/Dockerfile | 41 ----------------------------------------- 0.4.1/cli/Dockerfile | 41 ----------------------------------------- 0.4.10/cli/Dockerfile | 44 -------------------------------------------- 0.4.11/cli/Dockerfile | 5 ++++- 0.4.2/cli/Dockerfile | 41 ----------------------------------------- 0.4.3/cli/Dockerfile | 41 ----------------------------------------- 0.4.4/cli/Dockerfile | 44 -------------------------------------------- 0.4.5/cli/Dockerfile | 44 -------------------------------------------- 0.4.6/cli/Dockerfile | 44 -------------------------------------------- 0.4.7/cli/Dockerfile | 44 -------------------------------------------- 0.4.8/cli/Dockerfile | 44 -------------------------------------------- 0.4.9/cli/Dockerfile | 44 -------------------------------------------- develop/cli/Dockerfile | 44 -------------------------------------------- 29 files changed, 4 insertions(+), 1159 deletions(-) delete mode 100644 0.1.2/cli/Dockerfile delete mode 100644 0.2.0/cli/Dockerfile delete mode 100644 0.2.1/cli/Dockerfile delete mode 100644 0.2.2/cli/Dockerfile delete mode 100644 0.2.3/cli/Dockerfile delete mode 100644 0.2.4/cli/Dockerfile delete mode 100644 0.2.5/cli/Dockerfile delete mode 100644 0.2.6/cli/Dockerfile delete mode 100644 0.3.0/cli/Dockerfile delete mode 100644 0.3.1/cli/Dockerfile delete mode 100644 0.3.2/cli/Dockerfile delete mode 100644 0.3.3/cli/Dockerfile delete mode 100644 0.3.4.1/cli/Dockerfile delete mode 100644 0.3.4/cli/Dockerfile delete mode 100644 0.3.5.1/cli/Dockerfile delete mode 100644 0.3.5/cli/Dockerfile delete mode 100644 0.4.0/cli/Dockerfile delete mode 100644 0.4.1/cli/Dockerfile delete mode 100644 0.4.10/cli/Dockerfile delete mode 100644 0.4.2/cli/Dockerfile delete mode 100644 0.4.3/cli/Dockerfile delete mode 100644 0.4.4/cli/Dockerfile delete mode 100644 0.4.5/cli/Dockerfile delete mode 100644 0.4.6/cli/Dockerfile delete mode 100644 0.4.7/cli/Dockerfile delete mode 100644 0.4.8/cli/Dockerfile delete mode 100644 0.4.9/cli/Dockerfile delete mode 100644 develop/cli/Dockerfile diff --git a/0.1.2/cli/Dockerfile b/0.1.2/cli/Dockerfile deleted file mode 100644 index 0a17b46..0000000 --- a/0.1.2/cli/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:18.04 AS build-env -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-5.0 libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && ln -s /usr/bin/clang-5.0 /usr/bin/clang \ - && ln -s /usr/bin/clang++-5.0 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.1.2 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install - -# Build runtime image -FROM ubuntu:18.04 -RUN apt-get update -RUN apt-get -y upgrade -RUN apt-get install --no-install-recommends -y rsync ca-certificates libjansson4 libpng16-16 libzip4 libcurl4 libfreetype6 libfontconfig1 - -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.2.0/cli/Dockerfile b/0.2.0/cli/Dockerfile deleted file mode 100644 index 3b76129..0000000 --- a/0.2.0/cli/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:18.04 AS build-env -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-5.0 libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && ln -s /usr/bin/clang-5.0 /usr/bin/clang \ - && ln -s /usr/bin/clang++-5.0 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.2.0 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install - -# Build runtime image -FROM ubuntu:18.04 -RUN apt-get update -RUN apt-get -y upgrade -RUN apt-get install --no-install-recommends -y rsync ca-certificates libjansson4 libpng16-16 libzip4 libcurl4 libfreetype6 libfontconfig1 libicu60 - -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.2.1/cli/Dockerfile b/0.2.1/cli/Dockerfile deleted file mode 100644 index ae5f81c..0000000 --- a/0.2.1/cli/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:18.04 AS build-env -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-5.0 libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && ln -s /usr/bin/clang-5.0 /usr/bin/clang \ - && ln -s /usr/bin/clang++-5.0 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.2.1 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install - -# Build runtime image -FROM ubuntu:18.04 -RUN apt-get update -RUN apt-get -y upgrade -RUN apt-get install --no-install-recommends -y rsync ca-certificates libjansson4 libpng16-16 libzip4 libcurl4 libfreetype6 libfontconfig1 libicu60 - -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.2.2/cli/Dockerfile b/0.2.2/cli/Dockerfile deleted file mode 100644 index 41d1463..0000000 --- a/0.2.2/cli/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:18.04 AS build-env -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-5.0 libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && ln -s /usr/bin/clang-5.0 /usr/bin/clang \ - && ln -s /usr/bin/clang++-5.0 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.2.2 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install - -# Build runtime image -FROM ubuntu:18.04 -RUN apt-get update -RUN apt-get -y upgrade -RUN apt-get install --no-install-recommends -y rsync ca-certificates libjansson4 libpng16-16 libzip4 libcurl4 libfreetype6 libfontconfig1 libicu60 - -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.2.3/cli/Dockerfile b/0.2.3/cli/Dockerfile deleted file mode 100644 index 4ca9e65..0000000 --- a/0.2.3/cli/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:19.04 AS build-env -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-6.0 libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && ln -s /usr/bin/clang-6.0 /usr/bin/clang \ - && ln -s /usr/bin/clang++-6.0 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.2.3 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install - -# Build runtime image -FROM ubuntu:19.04 -RUN apt-get update -RUN apt-get -y upgrade -RUN apt-get install --no-install-recommends -y rsync ca-certificates libjansson4 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu63 - -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.2.4/cli/Dockerfile b/0.2.4/cli/Dockerfile deleted file mode 100644 index 956ad22..0000000 --- a/0.2.4/cli/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:19.04 AS build-env -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-6.0 libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && ln -s /usr/bin/clang-6.0 /usr/bin/clang \ - && ln -s /usr/bin/clang++-6.0 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.2.4 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install - -# Build runtime image -FROM ubuntu:19.04 -RUN apt-get update -RUN apt-get -y upgrade -RUN apt-get install --no-install-recommends -y rsync ca-certificates libjansson4 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu63 - -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.2.5/cli/Dockerfile b/0.2.5/cli/Dockerfile deleted file mode 100644 index 1bd6958..0000000 --- a/0.2.5/cli/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.2.5 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install - -# Build runtime image -FROM ubuntu:20.04 -RUN apt-get update -RUN apt-get -y upgrade -RUN apt-get install --no-install-recommends -y rsync ca-certificates libjansson4 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 - -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.2.6/cli/Dockerfile b/0.2.6/cli/Dockerfile deleted file mode 100644 index 457c121..0000000 --- a/0.2.6/cli/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.2.6 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install - -# Build runtime image -FROM ubuntu:20.04 -RUN apt-get update -RUN apt-get -y upgrade -RUN apt-get install --no-install-recommends -y rsync ca-certificates libjansson4 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 - -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.3.0/cli/Dockerfile b/0.3.0/cli/Dockerfile deleted file mode 100644 index 621c11d..0000000 --- a/0.3.0/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 duktape-dev libsdl2-dev libspeexdsp-dev libjansson-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.3.0 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libduktape205 libjansson4 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.3.1/cli/Dockerfile b/0.3.1/cli/Dockerfile deleted file mode 100644 index 5c1775c..0000000 --- a/0.3.1/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 duktape-dev libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.3.1 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libduktape205 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.3.2/cli/Dockerfile b/0.3.2/cli/Dockerfile deleted file mode 100644 index 658c30b..0000000 --- a/0.3.2/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 duktape-dev libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.3.2 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libduktape205 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.3.3/cli/Dockerfile b/0.3.3/cli/Dockerfile deleted file mode 100644 index ea8bcf3..0000000 --- a/0.3.3/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 duktape-dev libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.3.3 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libduktape205 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.3.4.1/cli/Dockerfile b/0.3.4.1/cli/Dockerfile deleted file mode 100644 index d8c33f3..0000000 --- a/0.3.4.1/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 duktape-dev libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.3.4.1 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libduktape205 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.3.4/cli/Dockerfile b/0.3.4/cli/Dockerfile deleted file mode 100644 index 11f63c7..0000000 --- a/0.3.4/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 duktape-dev libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.3.4 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libduktape205 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.3.5.1/cli/Dockerfile b/0.3.5.1/cli/Dockerfile deleted file mode 100644 index dfe452e..0000000 --- a/0.3.5.1/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 duktape-dev libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.3.5.1 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libduktape205 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.3.5/cli/Dockerfile b/0.3.5/cli/Dockerfile deleted file mode 100644 index a4d22cf..0000000 --- a/0.3.5/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 duktape-dev libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.3.5 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libduktape205 libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.0/cli/Dockerfile b/0.4.0/cli/Dockerfile deleted file mode 100644 index f828eb8..0000000 --- a/0.4.0/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.4.0 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.1/cli/Dockerfile b/0.4.1/cli/Dockerfile deleted file mode 100644 index e298039..0000000 --- a/0.4.1/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.4.1 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.10/cli/Dockerfile b/0.4.10/cli/Dockerfile deleted file mode 100644 index ee37998..0000000 --- a/0.4.10/cli/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ARG OPENRCT2_REF=v0.4.10 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a \ - # HACK due to issue in cmakelists, move content from cli - && mv /openrct2-install/usr/share/openrct2-cli/* /openrct2-install/usr/share/openrct2 \ - && rm -rf /openrct2-install/usr/share/openrct2-cli - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.11/cli/Dockerfile b/0.4.11/cli/Dockerfile index 371728a..2392c7c 100644 --- a/0.4.11/cli/Dockerfile +++ b/0.4.11/cli/Dockerfile @@ -40,5 +40,8 @@ EXPOSE 11753 RUN openrct2-cli --version \ && openrct2-cli scan-objects +# make roles for server +#RUN + # Done -ENTRYPOINT ["openrct2-cli"] +ENTRYPOINT openrct2-cli host "$RCT2MAP" --port 11753 --verbose diff --git a/0.4.2/cli/Dockerfile b/0.4.2/cli/Dockerfile deleted file mode 100644 index dc0fbf7..0000000 --- a/0.4.2/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.4.2 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.3/cli/Dockerfile b/0.4.3/cli/Dockerfile deleted file mode 100644 index 209a58c..0000000 --- a/0.4.3/cli/Dockerfile +++ /dev/null @@ -1,41 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 libsdl2-dev libspeexdsp-dev nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.4.3 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.4/cli/Dockerfile b/0.4.4/cli/Dockerfile deleted file mode 100644 index 2870e7b..0000000 --- a/0.4.4/cli/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.4.4 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a \ - # HACK due to issue in cmakelists, move content from cli - && mv /openrct2-install/usr/share/openrct2-cli/* /openrct2-install/usr/share/openrct2 \ - && rm -rf /openrct2-install/usr/share/openrct2-cli - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.5/cli/Dockerfile b/0.4.5/cli/Dockerfile deleted file mode 100644 index 2b85c31..0000000 --- a/0.4.5/cli/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ENV OPENRCT2_REF v0.4.5 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a \ - # HACK due to issue in cmakelists, move content from cli - && mv /openrct2-install/usr/share/openrct2-cli/* /openrct2-install/usr/share/openrct2 \ - && rm -rf /openrct2-install/usr/share/openrct2-cli - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.6/cli/Dockerfile b/0.4.6/cli/Dockerfile deleted file mode 100644 index 21213f4..0000000 --- a/0.4.6/cli/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ARG OPENRCT2_REF=v0.4.6 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a \ - # HACK due to issue in cmakelists, move content from cli - && mv /openrct2-install/usr/share/openrct2-cli/* /openrct2-install/usr/share/openrct2 \ - && rm -rf /openrct2-install/usr/share/openrct2-cli - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.7/cli/Dockerfile b/0.4.7/cli/Dockerfile deleted file mode 100644 index 9f4bc69..0000000 --- a/0.4.7/cli/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ARG OPENRCT2_REF=v0.4.7 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a \ - # HACK due to issue in cmakelists, move content from cli - && mv /openrct2-install/usr/share/openrct2-cli/* /openrct2-install/usr/share/openrct2 \ - && rm -rf /openrct2-install/usr/share/openrct2-cli - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.8/cli/Dockerfile b/0.4.8/cli/Dockerfile deleted file mode 100644 index a75d6b8..0000000 --- a/0.4.8/cli/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ARG OPENRCT2_REF=v0.4.8 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a \ - # HACK due to issue in cmakelists, move content from cli - && mv /openrct2-install/usr/share/openrct2-cli/* /openrct2-install/usr/share/openrct2 \ - && rm -rf /openrct2-install/usr/share/openrct2-cli - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/0.4.9/cli/Dockerfile b/0.4.9/cli/Dockerfile deleted file mode 100644 index 75b9e19..0000000 --- a/0.4.9/cli/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:20.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-10 nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-10 /usr/bin/clang \ - && ln -s /usr/bin/clang++-10 /usr/bin/clang++ - -ARG OPENRCT2_REF=v0.4.9 -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a \ - # HACK due to issue in cmakelists, move content from cli - && mv /openrct2-install/usr/share/openrct2-cli/* /openrct2-install/usr/share/openrct2 \ - && rm -rf /openrct2-install/usr/share/openrct2-cli - -# Build runtime image -FROM ubuntu:20.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip5 libcurl4 libfreetype6 libfontconfig1 libicu66 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] diff --git a/develop/cli/Dockerfile b/develop/cli/Dockerfile deleted file mode 100644 index ac10b29..0000000 --- a/develop/cli/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# Build OpenRCT2 -FROM ubuntu:22.04 AS build-env -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update \ - && apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang-14 nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \ - && rm -rf /var/lib/apt/lists/* \ - && ln -s /usr/bin/clang-14 /usr/bin/clang \ - && ln -s /usr/bin/clang++-14 /usr/bin/clang++ - -ARG OPENRCT2_REF=develop -WORKDIR /openrct2 -RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \ - && mkdir build \ - && cd build \ - && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON \ - && ninja -k0 install \ - && rm /openrct2-install/usr/lib/libopenrct2.a \ - # HACK due to issue in cmakelists, move content from cli - && mv /openrct2-install/usr/share/openrct2-cli/* /openrct2-install/usr/share/openrct2 \ - && rm -rf /openrct2-install/usr/share/openrct2-cli - -# Build runtime image -FROM ubuntu:22.04 -# Install OpenRCT2 -COPY --from=build-env /openrct2-install /openrct2-install -RUN apt-get update \ - && apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip4 libcurl4 libfreetype6 libfontconfig1 libicu70 \ - && rm -rf /var/lib/apt/lists/* \ - && rsync -a /openrct2-install/* / \ - && rm -rf /openrct2-install \ - && openrct2-cli --version - -# Set up ordinary user -RUN useradd -m openrct2 -USER openrct2 -WORKDIR /home/openrct2 -EXPOSE 11753 - -# Test run and scan -RUN openrct2-cli --version \ - && openrct2-cli scan-objects - -# Done -ENTRYPOINT ["openrct2-cli"] -- cgit v1.2.3