From 65477edecbd5a9c82175499f888a0e7f8c4eeb4b Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Sun, 30 Aug 2020 04:08:32 -0500 Subject: Remove dev static library Saves another 35MB --- 0.3.0/cli/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '0.3.0') diff --git a/0.3.0/cli/Dockerfile b/0.3.0/cli/Dockerfile index 4588df6..621c11d 100644 --- a/0.3.0/cli/Dockerfile +++ b/0.3.0/cli/Dockerfile @@ -12,8 +12,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 -DCMAKE_INSTALL_LIBDIR=/openrct2-install/usr/lib \ - && ninja -k0 install + && 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 -- cgit v1.2.3