Skip to content
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

docker deployment #29

Merged
merged 9 commits into from
Jan 3, 2020
Merged

docker deployment #29

merged 9 commits into from
Jan 3, 2020

Conversation

kba
Copy link
Member

@kba kba commented Dec 20, 2019

still tweaking, pls ignore for now

It is working now. Building medium and maximum takes about 20 minutes each, publishing to Docker Hub about 5 minutes, c.f. https://circleci.com/gh/OCR-D/ocrd_all/7.

Images are named

  • ocrd/all:minimum
  • ocrd/all:medium
  • ocrd/all:maximum

Every push to master will now trigger rebuilding and updating images.

@kba kba changed the title [wip] docker deployment docker deployment Dec 27, 2019
@kba
Copy link
Member Author

kba commented Dec 27, 2019

Authentication-wise: I set my DockerHub username as a CircleCI environment variable. The DOCKERHUB_PASS variable can be either the actual password or an API key based on the password generated by DockerHub. I chose the latter.

@kba
Copy link
Member Author

kba commented Jan 3, 2020

The problem about libarchive persists because libarchive-dev is installed when building tesseract but not for tesserocr. Added it to CUSTOM_DEPS when building tesserocr should fix that.

Circle CI is now configured to only build the docker-maximum target for any branch except master and build minimum, medium and maximum docker images and deploy them for master.

@kba kba merged commit 84307fc into master Jan 3, 2020
@kba kba deleted the circleci-deployment branch January 3, 2020 14:54
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.

None yet

1 participant