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

Updates to fedora27 and kalilinux dockerfiles #6819

Merged
merged 3 commits into from
May 7, 2018

Conversation

anmenaga
Copy link
Contributor

@anmenaga anmenaga commented May 3, 2018

This PR addresses 2 issues:

  1. fedora27 dockerfiles were missing compat-openssl10 prerequisite that on Linux-based Docker hosts produced error No usable version of the libssl was found during Restore-PSPester.
  2. kalilinux PS package validation is failing because of open issue Install instructions for Kali Linux are out-of-date #5413 , so disabling this config for now.

PR Checklist

@@ -26,6 +26,7 @@ LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
RUN dnf install -y \
curl \
glibc-locale-source \
Copy link
Member

Choose a reason for hiding this comment

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

We should consider adding the folloiwng to the image

dnf upgrade-minimal -y --security

This will apply any security updates to the image.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Might be a good idea. I've added this change and rerun package tests - build time does not seem to be impacted much.

@@ -22,6 +22,9 @@ LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \

# TODO: addd LABEL org.label-schema.vcs-ref=${VCS_REF}

# Apply any security updates to the image
RUN dnf upgrade-minimal -y --security
Copy link
Member

Choose a reason for hiding this comment

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

you should run dnf clean all before you write the layer (the end of the run statement)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@TravisEz13 TravisEz13 merged commit e0ee13c into PowerShell:master May 7, 2018
@anmenaga anmenaga deleted the UpdatesToDockerTests branch October 31, 2018 21:18
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.

2 participants