Skip to content

Build sdk on al2023 failed #3193

Answered by sbiscigl
omaslieiev asked this question in Q&A
Nov 14, 2024 · 2 comments · 10 replies
Discussion options

You must be logged in to vote

we actually run daily builds on 2023 to make sure its not broken.

FROM public.ecr.aws/amazonlinux/amazonlinux:2023

#Install g++
RUN yum groupinstall "Development Tools" -y

#Install required dependencies
RUN yum install -y curl-devel openssl-devel ninja-build cmake3 graphviz wget python

# build and install SDK
RUN git clone --depth 1 --recurse-submodules https://github.com/aws/aws-sdk-cpp && \
    cd aws-sdk-cpp && \
    mkdir build && \
    cd build && \
    cmake -DBUILD_ONLY="s3" -DCMAKE_INSTALL_PREFIX=/sdk-install -DAUTORUN_UNIT_TESTS=OFF .. && \
    cmake --build . && \
    cmake --install .

This dockerfile will build as expected I would suggest starting to investigate what differs…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@omaslieiev
Comment options

@jmklix
Comment options

@omaslieiev
Comment options

@sbiscigl
Comment options

Answer selected by jmklix
@omaslieiev
Comment options

@omaslieiev
Comment options

@jmklix
Comment options

@omaslieiev
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants