Skip to content
Snippets Groups Projects
Commit d1a04228 authored by ale's avatar ale
Browse files

Strip binary

parent ef16e4a1
No related branches found
No related tags found
No related merge requests found
Pipeline #25436 passed
......@@ -20,7 +20,8 @@ RUN ./autogen.sh NOCONFIG && \
./configure --without-freetype2 --disable-go --disable-r --disable-swig --disable-java --disable-python2 --disable-python3 --without-glut --enable-static --disable-shared --disable-guile --disable-lua --disable-php --disable-ruby --disable-tcl --with-qt=no --disable-ltdl --with-libgd=no --with-pangocairo=no && \
make -j4 && \
rm cmd/dot/dot_static && \
make -C cmd/dot dot_static LDFLAGS="-all-static"
make -C cmd/dot dot_static LDFLAGS="-all-static" && \
strip cmd/dot/dot_static
FROM scratch
COPY --from=build /tmp/graphviz-src/cmd/dot/dot_static /usr/bin/dot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment