-
Notifications
You must be signed in to change notification settings - Fork 153
Add alpine preview image #37
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
Conversation
&& apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \ | ||
lttng-ust | ||
|
||
RUN apk add --no-cache \ |
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.
Please combine these
# TODO: once the official build produces a full package for alpine, remove this region | ||
|
||
# Download the powershell .tar.gz package | ||
RUN curl -L -o /tmp/powershell.tar.gz https://github.com/TravisEz13/PowerShell/releases/download/v6.1.0-rc.1/powershell-6.1.0-fixalpine-linux-musl-x64.tar.gz |
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.
Can we replace curl
with ADD?
FROM alpine:3.8 | ||
|
||
ARG PS_VERSION=6.1.0-rc.1 | ||
ARG PS_VERSION_POSTFIX=-1.ubuntu.16.04 |
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.
remove references to 16.04
@SteveL-MSFT I addressed your comments and I believe I fixed the build break |
|
||
# Define Args for the needed to add the package | ||
ARG PS_VERSION=6.1.0-rc.1 | ||
# TODO: once the official build produces a full package for alpine, update this to the full package |
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.
This comment is kind of misleading as the next line IS the full package. Or am i missing something?
# NOTE: the alpine tar.gz when this was written doesn't contain the modules. For that we need a container with modules. | ||
# To accomplish this, we will get the modules from the full linux tar.gz package, then | ||
# overlay the alpine tar.gz on top of it. | ||
# There are TODO's in the file on updates that should occure one the Alpine .tar.gz contains everything |
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.
typo 'occur'
# Define Args for the needed to add the package | ||
ARG PS_VERSION=6.1.0-rc.1 | ||
# TODO: once the official build produces a full package for alpine, update this to the full package | ||
# TODO: once the official build produces a full package for alpine, update this to the full apline package |
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.
typo: Alpine
PR Summary
Add alpine preview image
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.