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

Add Docker build #1323

Merged
merged 4 commits into from
Jul 22, 2024
Merged

Add Docker build #1323

merged 4 commits into from
Jul 22, 2024

Conversation

leszko
Copy link
Contributor

@leszko leszko commented Jul 18, 2024

We plan to enable running catalyst-api separately to catalyst, therefore it needs its own Docker image.

Note that it I didn't include w3 tool, because Web3 Storage has shut down, so we should remove the support for Web3 Storage.

Design Doc: https://www.notion.so/livepeer/Zero-Impact-Catalyst-API-Deployments-c2b15232f3a2450ba3e4803130ecd2be?pvs=4#5ce68dfca1c341bfb6b21361d36d19df

@leszko leszko requested a review from hjpotter92 July 18, 2024 08:17
Dockerfile Show resolved Hide resolved
Dockerfile Outdated
curl \
ca-certificates \
musl \
python3 \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure we need all these dependencies. I guess it's for VOD. @thomshutt @mjh1 could you confirm we need those for vod?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure - other than ca-certificates we might be able to get rid of some of those others. It'll probably need a bit of trial and error though unfortunately

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I removed most of them (including ffmpeg), because I think we'll run VOD nodes still as the whole Catalyst bundle. And for the livestream API, we don't need it.

@leszko
Copy link
Contributor Author

leszko commented Jul 18, 2024

@hjpotter92 also I see the build failed because the Docker Hub registry does not exist. How to create it?

buildx failed with: ERROR: failed to solve: failed to push livepeer/catalyst-api:pr-1323: push access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

Dockerfile Outdated Show resolved Hide resolved
.github/workflows/docker.yaml Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@leszko leszko requested a review from thomshutt July 19, 2024 07:50
Dockerfile Outdated Show resolved Hide resolved
@leszko leszko merged commit 775ce78 into main Jul 22, 2024
11 checks passed
@leszko leszko deleted the rafal/add-docker-build branch July 22, 2024 08:55
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