-
Notifications
You must be signed in to change notification settings - Fork 1
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
Containerize #27
Comments
Success in running the crawler in a container. The dockerfile is based on a CHS-provided base, which introduced some challenges (version of python, version of some python libs, etc). It is also about 900Mb, which feels high. Aim to refactor using a python/alpine base image to see if it is easier to work with and perhaps has a smaller footprint. |
Also -- need to find a better way to pass secrets to the container. |
Getting help from @ewojtylko |
Possible images to try from the 'official' docker registry:
|
Did you progress the secrets issue with @ewojtylko -- seems like something that is set up in our existing containers that you could copy? |
The secrets can be loaded from a .env that is .gitignore'd. Works with the docker-compose just fine and if that doesn't fit our needs, then secrets can be fed in from mirrored CI Pipeline I think. |
proof-of-concept is merged in... this issue still open until we get a container working in the cloud. |
Okay, fantastic. Opening another branch for pipeline development. Won't push to remote until it has an issue to go with. Let me know if you are cool with me creating issues for the board. |
Mirrored repo is up. Pretty crude, I think, and took way longer than expected (figuring out the SSL issue was... interesting) but its available as a personal project on the CHS gitlab where gitlab ci scripts can be used. Next up is getting the image on ECR. Tagging @dblodgett-usgs so he knows that I am running a bit behind. |
Figure out how to run the cli from within a docker container.
The text was updated successfully, but these errors were encountered: