-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Undo workarounds added to dockerfile while updating to 7.0 SDK #37406
Undo workarounds added to dockerfile while updating to 7.0 SDK #37406
Comments
@janvorli @mthalman @NikolaMilosavljevic please let us know when a working CentOS or RHEL 7 |
@janvorli @mthalman @NikolaMilosavljevic do we have images we can use for this? |
Not that I know of. The https://github.com/dotnet/dotnet-buildtools-prereqs-docker repo is a self-service repo where product teams can make PRs to define/update Dockerfiles that meet the needs of their repos. That's the process that should be followed for this. |
@mthalman should we update the |
I have no knowledge on how product teams are using the container images produced by that repo so I can't really offer any guidance here. I do know that it doesn't support building RHEL because of the licensing requirements. |
Can you use the same image that is used by dotnet/runtime to build RPMs today? Do you need to create a new one? |
Let's find out: #41194 |
We used to use another version of the same image -- mcr.microsoft.com/dotnet-buildtools/prereqs:rhel-7-rpmpkg-e1b4a89-20175311035359 and it stopped working. dotnet/runtime may use |
Runtime build uses FPM tool, as well: https://github.com/dotnet/arcade/blob/5ef2983363df5e0d85181b2948e2a5b0c16aa41a/src/Microsoft.DotNet.Build.Tasks.Installers/build/installer.singlerid.targets#L314 |
According to comments in #37192, our original issue w/ mcr.microsoft.com/dotnet-buildtools/prereqs:rhel-7-rpmpkg-e1b4a89-20175311035359 was related to SSL issues. @wtgodbe used the slightly older mcr.microsoft.com/dotnet-buildtools/prereqs:rhel-7-rpmpkg-c982313-20174116044113 in #41194 and instead hit a missing |
As part of updating the SDK in #37192, we had to add stop-gap workarounds to
eng/docker/rhel.Dockerfile
andsrc/Installers/Rpm/Directory.Build.targets
to allow the build to succeed on a CentOS 7 image. We want to eventually switch to an official image that supports building RPM packages without these hacks. This is a tracking issue to remove these workarounds.Things to change as part of this undo:
a) Use an updated base image
b) Remove hacks to uninstall / install ruby
c) Changes made to
src/Installers/Rpm/Directory.Build.targets
as part of the PRThe text was updated successfully, but these errors were encountered: