Skip to content

Conversation

@RogerZhongAWS
Copy link
Contributor

@RogerZhongAWS RogerZhongAWS commented Jan 17, 2023

Motivation

  • Docker Images that aim to simplify the build process on various linux platforms
  • MacOS and Windows are not supported as they do not have an official vendor on Docker.

Modifications

Change summary

  • Dockerfiles for ubuntu, amazonlinux, RHEL, debian, fedora
  • For every OS/platform combo there is a pair of base (w/dependencies) and release (binary only) images
  • 5 pairs of images for x86, 4 pairs images for arm64, 1 pair for armv7, will add more arm images after some roadblocks are addressed.
  • CI workflows that publish to ECR
  • Documentation updates

Testing

Is your change tested? If not, please justify the reason.
Please list your testing steps and test results.

  • all builds succeed

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@RogerZhongAWS RogerZhongAWS added bug Something isn't working work in progress and removed bug Something isn't working labels Jan 17, 2023
update docker build action

remove cache deletion

fix typo

update stage1 file

modify dockerfiles

change download dir

delete fedora arm build

update macos ci openssl version

readme update
Copy link
Contributor

@shangabl shangabl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but please don't merge until we have the repos setup.

mkdir build
cd build
cmake .. -DBUILD_TESTS=OFF -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@1.1/1.1.1s/ -DOPENSSL_LIBRARIES=/usr/local/Cellar/openssl@1.1/1.1.1s/lib/
cmake .. -DBUILD_TESTS=OFF -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@1.1/1.1.1t/ -DOPENSSL_LIBRARIES=/usr/local/Cellar/openssl@1.1/1.1.1t/lib/
Copy link
Contributor

@HarshGandhi-AWS HarshGandhi-AWS Mar 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will have to make changes in the code every time a new version of openSSL is released. Can we update the code to use the latest a specific version of OpenSSL instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I install openssl@1.1 using brew on my mac, it is downloading and installing 1.1.1q version instead of 1.1.1t.

$ brew install openssl@1.1
Warning: openssl@1.1 1.1.1q is already installed and up-to-date.
To reinstall 1.1.1q, run:
  brew reinstall openssl@1.1

ls /usr/local/Cellar/openssl@1.1/
1.1.1g	1.1.1q

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed with team and decided to have a followup change for mac os.

Copy link
Contributor

@HarshGandhi-AWS HarshGandhi-AWS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@RogerZhongAWS RogerZhongAWS merged commit c9a3375 into main Mar 6, 2023
@RogerZhongAWS RogerZhongAWS deleted the docker-builds branch March 6, 2023 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants