Skip to content

Commit ac98c44

Browse files
committed
ninja test works without install
1 parent dc51540 commit ac98c44

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

libvips-stable-debian9/Dockerfile

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,16 @@ RUN mkdir libvips-${VIPS_BRANCH} \
3434
&& cd libvips-${VIPS_BRANCH} \
3535
&& wget ${VIPS_URL}/${VIPS_BRANCH} -O - | tar xfz - --strip-components 1
3636

37+
# "ninja test" needs bc for float arithmetic
38+
RUN apt-get install -y --no-install-recommends \
39+
bc
40+
3741
# "--libdir lib" makes it put the library in /usr/local/lib
3842
# we don't need GOI
3943
RUN cd libvips-${VIPS_BRANCH} \
4044
&& rm -rf build \
4145
&& meson build --libdir lib -Dintrospection=false \
4246
&& cd build \
4347
&& ninja \
48+
&& ninja test \
4449
&& ninja install
45-
46-
# so we find the new libs
47-
RUN ldconfig
48-
49-
# "ninja test" needs bc for float arithmetic
50-
RUN apt-get install -y --no-install-recommends \
51-
bc
52-
53-
RUN cd libvips-${VIPS_BRANCH} \
54-
&& cd build \
55-
&& ninja test
56-

0 commit comments

Comments
 (0)