vim-common \
&& git clone --depth=1 https://github.com/tsl0922/ttyd.git /tmp/ttyd \
&& cd /tmp/ttyd && mkdir build && cd build \
- && cmake .. \
+ && cmake -DCMAKE_BUILD_TYPE=RELEASE .. \
&& make \
&& make install \
&& apt-get remove -y --purge \
RUN git clone --depth=1 https://github.com/tsl0922/ttyd.git \
&& cd ttyd && sed -i '5s;^;\nSET(CMAKE_FIND_LIBRARY_SUFFIXES ".a")\nSET(CMAKE_EXE_LINKER_FLAGS "-static")\n;' CMakeLists.txt \
- && cmake . && make install && cd .. && rm -rf ttyd
+ && cmake -DCMAKE_BUILD_TYPE=RELEASE . && make install && cd .. && rm -rf ttyd