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

Adding volumes and adding openssh-clients for ssh access to hosts. #37

Closed

Conversation

DJGummikuh
Copy link

This allows the image to be recreated without explicitly having to provide volumes.
Also installs openssh-client, which allows check_mk to connect to hosts using ssh (rather than using plaintext, unauthenticated access over the internet)

Dockerfile Outdated
RUN yum -y install epel-release && yum update -y
VOLUME ["/opt/backup", "/opt/omd/sites"]

RUN yum -y install epel-release && yum update -y && yum install openssh-clients
Copy link
Collaborator

Choose a reason for hiding this comment

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

This doesn't work because the build is not interactive --> you have to use yum -y install
But please add the openssh-clients to the yum install some lines down where there are already some additional packets listed (ssmtp, which)

Copy link
Author

Choose a reason for hiding this comment

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

Yep I figured the -y later on. I'm gonna correct that, however I'm unsure as to how to add these changes to the pull request. Let me try to figure it out

@mcgege
Copy link
Collaborator

mcgege commented Sep 22, 2018

As discussed in #24 we'll leave out the volumes right now - for openssh please open a separate pr.

@mcgege mcgege closed this Sep 22, 2018
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

Successfully merging this pull request may close these issues.

3 participants