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

Download external data in docker build #728

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

bolasim
Copy link
Collaborator

@bolasim bolasim commented Nov 10, 2023

No description provided.

Copy link
Contributor

@varunshenoy varunshenoy left a comment

Choose a reason for hiding this comment

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

lgtm!

{%- endif %}

{%- if external_data_files %}
RUN curl -s https://baseten-public.s3.us-west-2.amazonaws.com/bin/b10cp-5fe8dc7da-linux-amd64 -o /app/b10cp; chmod +x /app/b10cp
Copy link
Contributor

Choose a reason for hiding this comment

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

If files are being cached, we're already downloading b10cp (see cache.Dockerfile.jinja). Would it make sense to move these downloads to the cache multistage build (maybe in a future PR)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah. it makes sense, but the plumbing was a bit much on a first pass. I'll try to add it in a followup

@bolasim bolasim merged commit 5de969c into main Nov 10, 2023
3 checks passed
@bolasim bolasim deleted the bola/externa-data-in-docker-build branch November 10, 2023 17:06
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

3 participants