diff options
| author | Cory Sanin <[email protected]> | 2020-08-30 04:08:32 -0500 |
|---|---|---|
| committer | Cory Sanin <[email protected]> | 2020-08-30 04:08:32 -0500 |
| commit | 65477edecbd5a9c82175499f888a0e7f8c4eeb4b (patch) | |
| tree | 5964d9be799791335ec3c0d9ec08826d53dc6c76 /0.3.0 | |
| parent | 1bad0e81ccf718337b17a27e6bd8ec6ddabc2e1d (diff) | |
| download | openrct2-docker-65477edecbd5a9c82175499f888a0e7f8c4eeb4b.tar.gz openrct2-docker-65477edecbd5a9c82175499f888a0e7f8c4eeb4b.zip | |
Remove dev static library
Saves another 35MB
Diffstat (limited to '0.3.0')
| -rw-r--r-- | 0.3.0/cli/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
