Skip to content

Build Docker image on slim base #3204

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

Open
wants to merge 6 commits into
base: livekit
Choose a base branch
from
Open

Build Docker image on slim base #3204

wants to merge 6 commits into from

Conversation

AndrewFerr
Copy link
Member

This reduces the size of the runtime image by about 50%.

@toger5
Copy link
Contributor

toger5 commented Apr 14, 2025

Can we track what tests we did with the slim-base to make sure its not breaking anything.

  • deploy and run EC from the slim-base version

For Playwright end-to-end tests in CI, instead of running a development
webserver with `yarn dev`, build and deploy a Docker container for
Element Call and use that as the webserver to test against.
@AndrewFerr
Copy link
Member Author

Can we track what tests we did with the slim-base to make sure its not breaking anything.

There weren't any existing tests that used Docker, so I added 073baca to run the Playwright tests against a freshly-built Docker container of EC. This should ensure that not only does the Docker image build properly, but that running containers can successfully serve EC.

"Developer.elementCallUrl",
null,
"device",
"https://localhost:3000/room",
Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason, this wasn't able to use a variable, so I've defined two different versions of the function for each value of the URL.

@AndrewFerr
Copy link
Member Author

Not sure why the end-to-end tests are hanging in CI, and they run properly for me in an Ubuntu VM...

@toger5
Copy link
Contributor

toger5 commented Apr 23, 2025

@AndrewFerr they are currently broken.
We need to get them fixed before merging (We did a couple of exceptions for the release relevant PR's)
We will merge it in your name once we have them fixed

@AndrewFerr
Copy link
Member Author

AndrewFerr commented Apr 29, 2025

I noticed "playwright" in some recent commit messages, so here's a merge to try tests again 🙂

EDIT: Still no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants