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

How to add perl package #86

Closed
zgodzgod opened this issue Feb 1, 2021 · 2 comments
Closed

How to add perl package #86

zgodzgod opened this issue Feb 1, 2021 · 2 comments

Comments

@zgodzgod
Copy link

zgodzgod commented Feb 1, 2021

How to add perl package for cacti container: perl-libwww-perl?
Can you give me some suggestions?

scline added a commit that referenced this issue Feb 1, 2021
@scline
Copy link
Owner

scline commented Feb 1, 2021

There are a few ways to add that package. You can edit the Dockerfile to include the package or manually install it once the container is running.

https://docs.docker.com/engine/reference/commandline/exec/

docker exec -ti <cacti_container_id> bash
[root@cacti /]# yum install perl-libwww-perl

You can also bake it into the base container by adding the yum install command to the DockerFile like https://github.com/scline/docker-cacti/pull/87/files

Will see about merging that tonight if no issues pop up so you can simply pull latest or 1.2.16a to automatically have that package :)

@scline scline mentioned this issue Feb 1, 2021
@scline
Copy link
Owner

scline commented Feb 1, 2021

It's now in the latest tag, be sure to re-pull the docker container to grab the new version

[root@cacti /]# rpm -q perl-libwww-perl
perl-libwww-perl-6.34-1.module_el8.3.0+416+dee7bcef.noarch

@scline scline closed this as completed Feb 1, 2021
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