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

Update Firefox install to install from Mozilla since snap is not avaialable #133

Open
eng3 opened this issue Jan 14, 2025 · 1 comment
Open
Assignees

Comments

@eng3
Copy link

eng3 commented Jan 14, 2025

The Dockerfile uses matlab-deps which is based on an ubuntu image. The current firefox install line in the Docerfile installs the package from the Ubuntu repository which relies on snap. Snap is not installed in the container and thus firefox will not run along with any of the help pages.

Recommend modifying Dockerfile to install firefox properly.

Example:
Add before firefox install: (based on firefox install instructions)
RUN install -d -m 0755 /etc/apt/keyrings && wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null && echo "deb [signed-by=/etc
/apt/keyrings/packages.mozilla.org.asc] http://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null && echo "Package: *\nPin: origin packages.mozilla.org\n
Pin-Priority: 1000" | tee /etc/apt/preferences.d/mozilla

(and add wget to deps list)

@epaganon
Copy link
Member

Dear @eng3,

Thank you for bringing this to our attention, we truly appreciate your contribution.

I will forward this suggestion to our development team for consideration, and we will evaluate its inclusion in a future release of the image.

Best regards

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

2 participants