mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
rocksdb: PORTABLE=1
This commit is contained in:
parent
13cb609f60
commit
eb39f78396
|
@ -9,7 +9,7 @@ ENV ROCKSDB_VERSION v6.22.1
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
git clone https://github.com/facebook/rocksdb.git /tmp/rocksdb --depth 1 --single-branch --branch $ROCKSDB_VERSION && \
|
git clone https://github.com/facebook/rocksdb.git /tmp/rocksdb --depth 1 --single-branch --branch $ROCKSDB_VERSION && \
|
||||||
cd rocksdb && \
|
cd rocksdb && \
|
||||||
make static_lib && \
|
PORTABLE=1 make static_lib && \
|
||||||
make install-static
|
make install-static
|
||||||
|
|
||||||
ENV CGO_CFLAGS "-I/tmp/rocksdb/include"
|
ENV CGO_CFLAGS "-I/tmp/rocksdb/include"
|
||||||
|
|
Loading…
Reference in a new issue