mirror of
https://github.com/matrix-construct/construct
synced 2024-05-15 17:33:46 +02:00
docker/ubuntu: Append the config.log after a failed configure; quiet rocksdb untar.
This commit is contained in:
parent
b21558fada
commit
a67227f28f
|
@ -99,7 +99,7 @@ ENV do_fetch_rocksdb true \
|
|||
&& eval ${do_install} curl \
|
||||
&& cd /usr/src \
|
||||
&& curl -sL ${rocksdb_url} -o rocksdb-${rocksdb_version}.tar.gz \
|
||||
&& tar xfvz rocksdb-${rocksdb_version}.tar.gz \
|
||||
&& tar xfz rocksdb-${rocksdb_version}.tar.gz \
|
||||
&& rm rocksdb-${rocksdb_version}.tar.gz \
|
||||
&& mv /usr/src/rocksdb-${rocksdb_version} /usr/src/rocksdb \
|
||||
&& cd - \
|
||||
|
|
|
@ -43,7 +43,7 @@ RUN true \
|
|||
&& rmdir -v deps/rocksdb \
|
||||
&& ln -sv /usr/src/rocksdb deps \
|
||||
&& ./autogen.sh \
|
||||
&& ./configure --enable-generic --with-machine="${machine_spec}" \
|
||||
&& (./configure --enable-generic --with-machine="${machine_spec}" || (cat config.log; exit 1)) \
|
||||
&& make -j `nproc` \
|
||||
&& make install \
|
||||
&& cd .. \
|
||||
|
|
Loading…
Reference in a new issue