mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
synced 2025-10-29 09:52:20 +00:00
Trying to fix AWS SDK build issue.
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -63,11 +63,13 @@ RUN git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp /aws-sdk-c
|
||||
WORKDIR /aws-sdk-cpp
|
||||
RUN mkdir cmake-build
|
||||
WORKDIR cmake-build
|
||||
RUN cmake .. -DBUILD_ONLY="sns;s3;crypto" \
|
||||
RUN cmake .. -DBUILD_ONLY="sns;s3" \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS="-Wno-error=stringop-overflow -Wno-error=uninitialized" \
|
||||
-DLibCrypto_INCLUDE_DIR=/usr/include \
|
||||
-DLibCrypto_LIBRARY=/usr/lib64/libcrypto.so \
|
||||
-DCrypto_INCLUDE_DIR=/usr/include \
|
||||
-DCrypto_LIBRARY=/usr/lib64/libcrypto.so \
|
||||
-DAUTORUN_UNIT_TESTS=OFF
|
||||
RUN cmake --build . --config Release -j8
|
||||
RUN cmake --build . --target install
|
||||
@@ -95,9 +97,11 @@ COPY --from=fmtlib-build /usr/local/lib /usr/local/lib
|
||||
WORKDIR /owfms
|
||||
RUN mkdir cmake-build
|
||||
WORKDIR /owfms/cmake-build
|
||||
RUN cmake -DLibCrypto_INCLUDE_DIR=/usr/include \
|
||||
-DLibCrypto_LIBRARY=/usr/lib64/libcrypto.so \
|
||||
..
|
||||
RUN cmake -DLibCrypto_INCLUDE_DIR=/usr/include \
|
||||
-DLibCrypto_LIBRARY=/usr/lib64/libcrypto.so \
|
||||
-DCrypto_INCLUDE_DIR=/usr/include \
|
||||
-DCrypto_LIBRARY=/usr/lib64/libcrypto.so \
|
||||
..
|
||||
RUN cmake --build . --config Release -j8
|
||||
|
||||
FROM alpine:3.15
|
||||
|
||||
Reference in New Issue
Block a user