-
Notifications
You must be signed in to change notification settings - Fork 155
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
Add SSH client package to community-stable images #462
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What percentage of the new image sizes is openssh?
Also: 1 question
@@ -13,6 +13,9 @@ ARG PS_PACKAGE=powershell-${PS_VERSION}-1.rhel.7.x86_64.rpm | |||
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/${PS_PACKAGE} | |||
ARG PS_INSTALL_VERSION=7 | |||
|
|||
# Download the PowerShell Core Linux .rpm and save it | |||
ADD ${PS_PACKAGE_URL} /tmp/powershell-linux.rpm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you revert this? It improved the image size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I forgotten about the layer size issue since I was helping on some work requirement for standardising syntax. lol.
Conflicts need to be resolved. Ping me if you need me to do it. |
I need to close off this pull request for now as I also noticed there is an issue with OracleLinux too since it was put into unstable folder. Its bit late at my time now so can't be fixing it. I didn't realise there changes while I was in any own branch fixing the SSH for various distros. Will come back again in another PR. |
Pull Request superseded by #465 |
PR Summary
ssh
to images #374 enhancement request for community-stable images.In order to use
Enter-PSSession
to connect with other (Windows or Linux) VM and Container,OpenSSH
client package is required.Below is the list of
OpenSSH
client package required for various linux distros:openssh-clients
package for Amazon Linuxopenssh
package for ArchLinuxopenssh
package for BlackArchopenssh-client
package for ClearLinuxopenssh-client
package for KaliLinuxopenssh-clients
package for Oracle Linuxopenssh-client
package for ParrotSecopenssh-clients
package for PhotonRemove the need of using
wget
orcurl
to download PowerShell package in DockerRUN
. Use DockerADD
to download PowerShell package instead.Other minor fixes
PR Checklist
Dockerfile
,.sh
,.ps1
and.psm1
files have the correct copyright headerWIP:
to the beginning of the title and remove the prefix when the PR is ready.