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

Update docker files to allow specifying pwsh and from image version #6835

Merged

Conversation

TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented May 7, 2018

PR Summary

Update docker files to allow specifying pwsh and from image version
- Also updated to install security updates when building images

PR Checklist

@@ -46,7 +49,9 @@ RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc
# Install powershell from Microsoft Repo
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
powershell
powershell=${POWERSHELL_VERSION}-1.ubuntu.16.04 \
Copy link
Member

Choose a reason for hiding this comment

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

can you make the version postfix a variable.

powershell
powershell=${POWERSHELL_VERSION}-1.ubuntu.16.04 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lis
Copy link
Member

Choose a reason for hiding this comment

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

lis -> list*

@TravisEz13 TravisEz13 force-pushed the allow_specifying_pwsh_version branch from 8586510 to 8f45945 Compare May 7, 2018 23:53
@TravisEz13 TravisEz13 merged commit f33689b into PowerShell:master May 8, 2018
@TravisEz13 TravisEz13 deleted the allow_specifying_pwsh_version branch May 8, 2018 01:01
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