Skip to content

Commit d6a39e4

Browse files
committed
Image for release v0.4.25
1 parent 8ee5ada commit d6a39e4

File tree

4 files changed

+46
-5
lines changed

4 files changed

+46
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
# List of tags to build and upload, remember to update this
14-
tag: [0.4.24]
14+
tag: [0.4.25]
1515
env:
1616
dockertag: ${{ matrix.tag }}
1717
dockerimg: openrct2/openrct2-cli
18-
dockerlst: 0.4.24
18+
dockerlst: 0.4.25
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v4

0.4.23/cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get update \
55
&& apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \
66
&& rm -rf /var/lib/apt/lists/*
77

8-
ARG OPENRCT2_REF=develop
8+
ARG OPENRCT2_REF=v0.4.23
99
WORKDIR /openrct2
1010
RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \
1111
&& mkdir build \

0.4.25/cli/Dockerfile

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Build OpenRCT2
2+
FROM ubuntu:24.04 AS build-env
3+
ENV DEBIAN_FRONTEND=noninteractive
4+
RUN apt-get update \
5+
&& apt-get install --no-install-recommends -y git cmake pkg-config ninja-build clang nlohmann-json3-dev libcurl4-openssl-dev libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libzip-dev libssl-dev libicu-dev libflac-dev libvorbis-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
ARG OPENRCT2_REF=v0.4.25
9+
WORKDIR /openrct2
10+
RUN git -c http.sslVerify=false clone --depth 1 -b $OPENRCT2_REF https://github.com/OpenRCT2/OpenRCT2 . \
11+
&& mkdir build \
12+
&& cd build \
13+
&& cmake .. -G Ninja -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/openrct2-install/usr -DDISABLE_GUI=ON -DENABLE_HEADERS_CHECK=OFF \
14+
&& ninja -k0 graphics \
15+
&& ninja -k0 install \
16+
&& rm /openrct2-install/usr/lib/libopenrct2.a
17+
18+
# Build runtime image
19+
FROM ubuntu:24.04
20+
# Install OpenRCT2
21+
COPY --from=build-env /openrct2-install /openrct2-install
22+
RUN apt-get update \
23+
&& apt-get install --no-install-recommends -y rsync ca-certificates libpng16-16 libzip4 libcurl4 libfreetype6 libfontconfig1 libicu74 \
24+
&& rm -rf /var/lib/apt/lists/* \
25+
&& rsync -a /openrct2-install/* / \
26+
&& rm -rf /openrct2-install \
27+
&& openrct2-cli --version
28+
29+
# Set up ordinary user
30+
RUN useradd -m openrct2
31+
USER openrct2
32+
WORKDIR /home/openrct2
33+
EXPOSE 11753
34+
35+
# Test run and scan
36+
RUN openrct2-cli --version \
37+
&& openrct2-cli scan-objects
38+
39+
# Done
40+
ENTRYPOINT ["openrct2-cli"]

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ It will then host a new server and load the saved game `mypark.sv6` located in t
4141
All builds use the `amd64` architecture.
4242

4343
- [`develop` (*develop/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/develop/cli/Dockerfile)
44-
- [`0.4.24`, `latest` (*0.4.24/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/0.4.24/cli/Dockerfile)
45-
- [`0.4.23` (*0.4.23/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/0.4.23/cli/Dockerfile)
44+
- [`0.4.25`, `latest` (*0.4.25/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/0.4.25/cli/Dockerfile)
45+
- [`0.4.24`, (*0.4.24/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/0.4.24/cli/Dockerfile)
46+
- [`0.4.23`, (*0.4.23/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/0.4.23/cli/Dockerfile)
4647
- [`0.4.22`, (*0.4.22/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/0.4.22/cli/Dockerfile)
4748
- [`0.4.21`, (*0.4.21/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/0.4.21/cli/Dockerfile)
4849
- [`0.4.20`, (*0.4.20/cli/Dockerfile*)](https://github.com/OpenRCT2/openrct2-docker/blob/master/0.4.20/cli/Dockerfile)

0 commit comments

Comments
 (0)