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

Refactor install script and docker file to remove unused packages #4164

Closed
mekya opened this issue Apr 27, 2022 · 1 comment
Closed

Refactor install script and docker file to remove unused packages #4164

mekya opened this issue Apr 27, 2022 · 1 comment
Assignees

Comments

@mekya
Copy link
Contributor

mekya commented Apr 27, 2022

Install script

openjdk-11-jdk unzip jsvc libapr1 libssl-dev libva-drm2 libva-x11-2 libvdpau-dev -y

I think we don't need jsvc, libapr1 and likely libssl-dev. As far as I remember, libva-* packets are required for quick-sync

Docker file

RUN apt-get update && apt-get install -y curl libcap2 wget net-tools iproute2 cron logrotate

I think we don't need libcap2, curl and wget. I'm not sure for iproute2, cron and logrotate

@muratugureminoglu
Copy link
Collaborator

muratugureminoglu commented May 9, 2022

https://github.com/ant-media/Scripts/pull/171

Install Script:

Unable to remove libva-x11-2 package due to ffmpeg dependency.

Logs:

Caused by: java.lang.UnsatisfiedLinkError: /usr/local/antmedia/.javacpp/cache/ffmpeg-4.3.2-1.5.5-linux-x86_64-gpl.jar/org/bytedeco/ffmpeg/linux-x86_64-gpl/libjniavutil.so: libva-x11.so.2: cannot open shared object file: No such file or directory

Dockerfile:

The wget package uses to download the install script, the iproute package uses for the ifconfig tool (on the cluster side).

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