Skip to content

Commit

Permalink
fix submission
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Mar 3, 2025
1 parent a4feab0 commit dc03991
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docker/orthanc/AmazonLinux2Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,19 @@ RUN mkdir -p /build
RUN mkdir -p /scripts
RUN mkdir -p /third-party-downloads

# download most commonly used third-party files to avoid downloading too many files from UCLouvain servers when building
WORKDIR /third-party-downloads

# RUN dnf search aws-sdk-cpp --showduplicates
# RUN dnf -y update && \
# dnf -y install aws-sdk-cpp\aws-cpp-sdk-s3 && \
# dnf clean all
RUN git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp.git && cd aws-sdk-cpp && mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="s3" && make -j$(nproc) && make install
RUN ls /usr/local/include/aws
RUN tar cf aws-sdk-cpp-1.11.178.tar.gz /usr/local/include/aws
RUN git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp.git
# && cd aws-sdk-cpp && mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="s3" && make -j$(nproc) && make install
# RUN ls /usr/local/include/aws
RUN ls aws-sdk-cpp
RUN tar cf aws-sdk-cpp-1.11.178.tar.gz -C aws-sdk-cpp .


# download most commonly used third-party files to avoid downloading too many files from UCLouvain servers when building
WORKDIR /third-party-downloads
RUN wget https://public-files.orthanc.team/third-party-downloads/VolView-4.1.1.tar.gz
RUN wget https://public-files.orthanc.team/third-party-downloads/aws/aws-c-auth-0.7.1.tar.gz
RUN wget https://public-files.orthanc.team/third-party-downloads/aws/aws-c-cal-0.6.1.tar.gz
Expand Down

0 comments on commit dc03991

Please sign in to comment.