Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Updates to fedora27 and kalilinux dockerfiles#6819

Merged
TravisEz13 merged 3 commits intoPowerShell:masterfrom
anmenaga:UpdatesToDockerTests
May 7, 2018
Merged

Updates to fedora27 and kalilinux dockerfiles#6819
TravisEz13 merged 3 commits intoPowerShell:masterfrom
anmenaga:UpdatesToDockerTests

Conversation

@anmenaga
Copy link

@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 <[email protected]>" \
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
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.

# 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
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