1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix #7497: openrct2-cli docker image is broken (#7524)

Update openrct2-cli docker file for Ubuntu 18.04.
See https://github.com/OpenRCT2/OpenRCT2/pull/7523

Also includes a basic test to verify load-ability of produced binary.
This commit is contained in:
Michał Janiszewski
2018-05-16 00:11:24 +02:00
committed by Ted John
parent 7ea308f969
commit 543efd8822

View File

@@ -8,15 +8,16 @@ RUN mkdir build \
&& ninja -k0 install
# Build runtime image
FROM ubuntu:16.04
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 libpng12-0 libzip4 libcurl3 libfreetype6 libfontconfig1
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
&& rm -rf /openrct2-install \
&& /openrct2-cli --version
# Done
ENTRYPOINT ["openrct2-cli"]