-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Conversation
@@ -26,6 +26,7 @@ LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \ | |||
RUN dnf install -y \ | |||
curl \ | |||
glibc-locale-source \ |
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.
We should consider adding the folloiwng to the image
dnf upgrade-minimal -y --security
This will apply any security updates to the image.
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.
Might be a good idea. I've added this change and rerun package tests - build time does not seem to be impacted much.
docker/release/fedora27/Dockerfile
Outdated
@@ -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 |
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.
you should run dnf clean all
before you write the layer (the end of the run statement)
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.
Updated.
This PR addresses 2 issues:
fedora27
dockerfiles were missingcompat-openssl10
prerequisite that on Linux-based Docker hosts produced errorNo usable version of the libssl was found
duringRestore-PSPester
.PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
to the beginning of the title and remove the prefix when the PR is ready.[feature]
if the change is significant or affects feature tests