Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add Dockerfile and related changes to build the Docker image #428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 29, 2018

Conversation

jonatasbaldin
Copy link
Contributor

Hi there!

This PR adds the Dockerfile and related files to build the lib Docker image. This image will be used mainly by Tricorder to generate further Tricorder worker images with the specific lib version.

The tags used in the Docker images are the version (from the release tag) and the api-definitions SHA from the release.

TODO:

  • Add Docker Hub credentials to the TravisCI env
  • Merge and create a release for testing

@@ -45,3 +45,14 @@ clean:

nopyc:
find . -name \*.pyc -delete

API_DEFINITIONS_SHA=$(shell git log --oneline | grep Regenerated | head -n1 | cut -d ' ' -f 5)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add a prefix like apidefs to this to distinguish it from other SHA's?

Copy link
Contributor Author

@jonatasbaldin jonatasbaldin Jun 20, 2018

Choose a reason for hiding this comment

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

I think so.. what do you think about twilio/twilio-python:apidefs-<sha>?

@dprothero
Copy link
Contributor

We should probably add some notes to the README on how to use the docker image for the purpose of exploring the helper library.

@jonatasbaldin
Copy link
Contributor Author

@dprothero I added the README text here, what do you think? If that's enough I'll add in the other repos as well.

@cjcodes cjcodes merged commit 7de794d into master Jun 29, 2018
@childish-sambino childish-sambino deleted the jonatas/deved-3249 branch March 12, 2019 17:07
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