Skip to content

Commit 942bf31

Browse files
Wenhai Zhufacebook-github-bot
authored andcommitted
upgrade AWS CPP SDK from 1.8.177 to a newer version (#526)
Summary: Pull Request resolved: #526 We got a SEV S322350 where the s3 upload showed successful while the file was not uploaded at all. It was due to a bug in 1.8.177 and it was fixed in 1.9.333. Chose 1.9.379 because it's the last version before 1.10.0 and 1.10.0 has major changes on the s3client.h which isn't compatible with our code anymore. Reviewed By: ramesc Differential Revision: D47244697 fbshipit-source-id: 5fc0eaec577843e124106dfb15f0b82da2acd89c
1 parent 0b7788d commit 942bf31

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ UBUNTU_RELEASE="20.04"
1010
EMP_TOOL_RELEASE="0.2.3"
1111
EMP_RELEASE="0.2.2"
1212
EMP_IMAGE_TAG="0.2.3-haswell"
13-
AWS_RELEASE="1.8.177"
14-
AWS_IMAGE_TAG="1.8.177-haswell"
13+
AWS_RELEASE="1.9.379"
14+
AWS_IMAGE_TAG="1.9.379-haswell"
1515
GCP_RELEASE="v1.32.1"
1616
FMT_RELEASE="7.1.3"
1717
FOLLY_RELEASE="2021.06.28.00"

docker/Dockerfile.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
ARG os_release="latest"
77
ARG emp_image="fbpcf/ubuntu-emp:0.2.3"
8-
ARG aws_image="fbpcf/ubuntu-aws-s3-core:1.8.177"
8+
ARG aws_image="fbpcf/ubuntu-aws-s3-core:1.9.379"
99
ARG folly_image="fbpcf/ubuntu-folly:2021.03.29.00"
1010
ARG gcp_image="fbpcf/ubuntu-gcp-cloud-cpp:1.32.1"
1111

docker/aws-s3-core/Dockerfile.ubuntu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# LICENSE file in the root directory of this source tree.
55
ARG os_release="latest"
66
FROM ubuntu:${os_release} AS builder
7-
ARG aws_release="1.8.177"
7+
ARG aws_release="1.9.379"
88
# Required Packages for AWS
99
ARG DEBIAN_FRONTEND=noninteractive
1010
RUN apt-get -y update && apt-get install --no-install-recommends -y \
@@ -21,7 +21,7 @@ WORKDIR /root/build
2121
COPY docker/utils/get_make_options.sh .
2222

2323
# aws s3/core build and install
24-
RUN git clone https://github.com/aws/aws-sdk-cpp.git
24+
RUN git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp.git
2525
WORKDIR /root/build/aws-sdk-cpp
2626
RUN git checkout tags/${aws_release} -b ${aws_release}
2727
# -DCUSTOM_MEMORY_MANAGEMENT=0 is added to avoid Aws::String and std::string issue

0 commit comments

Comments
 (0)