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

Trim Dockerfile and make Mongo container name more specific #25

Open
TibbersHao opened this issue Mar 30, 2024 · 0 comments
Open

Trim Dockerfile and make Mongo container name more specific #25

TibbersHao opened this issue Mar 30, 2024 · 0 comments

Comments

@TibbersHao
Copy link
Member

With recent changes in content registry, we might want to do the similar approach for computing api:

  1. There are similar chunks of code in each Dockerfile that could be taken out in order to fasten the building process:
RUN apt-get update && apt-get install -y \
    build-essential \
    wget \
    python3-pip\
    ffmpeg\
    libsm6\
    libxext6

I did an initial quick test by taking out such portion from the front-end and job-manager, and can still build the image properly on a M1 machine. I did not change the one in ml-worker as that one has more packages involved.

  1. We may consider to change the container name of mongodb to be more specific, in case we need to have multiple mongo container from different applications.
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

No branches or pull requests

1 participant