-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Update SDK to 7.0.100-alpha.1.21480.20 #37192
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
Changes from all commits
d703ca2
41c5262
37f9ce1
3b7f281
e045062
ab087e1
5982858
9671ae3
6b222cc
a0d5593
273a50b
5cebe3e
979089b
c54faee
685b125
d826016
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Dockerfile that creates a container suitable to build dotnet-cli | ||
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:rhel-7-rpmpkg-e1b4a89-20175311035359 | ||
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-rpmpkg-20210714125435-9b5bbc2 | ||
|
||
# Setup User to match Host User, and give superuser permissions | ||
ARG USER | ||
|
@@ -9,6 +9,15 @@ ARG WORKDIR | |
|
||
WORKDIR ${WORKDIR} | ||
|
||
# Workaround per https://github.com/dotnet/aspnetcore/pull/37192#issuecomment-936589233 | ||
RUN gem uninstall fpm | ||
RUN yum remove -y rubygems | ||
RUN yum remove -y ruby-devel | ||
RUN yum --enablerepo=centos-sclo-rh -y install rh-ruby25 | ||
RUN yum --enablerepo=centos-sclo-rh -y install rh-ruby25-ruby-devel | ||
RUN yum --enablerepo=centos-sclo-rh -y install rh-ruby25-rubygems | ||
RUN scl enable rh-ruby25 'gem install --no-document fpm' | ||
Comment on lines
+13
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a lot and all the more reason to move to a Docker image with matching There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup. @janvorli helped with it. The problem was that fpm uses the ruby in the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I completely agree on this being a stop gap. My comment amounted to "Ick, let's burn this w/ fire ASAP" 😃 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #37406 tracks undoing these changes. |
||
|
||
RUN useradd -m ${USER} --uid ${USER_ID} -g root | ||
RUN echo '${USER} ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.