Skip to content

Commit a0d5593

Browse files
committed
Use CentOS 7 image
1 parent 6b222cc commit a0d5593

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eng/docker/rhel.Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Dockerfile that creates a container suitable to build dotnet-cli
2-
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:centos-8-rpmpkg-20210714125410-daa5116
2+
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-rpmpkg-20210714125435-9b5bbc2
33

44
# Setup User to match Host User, and give superuser permissions
55
ARG USER
@@ -22,3 +22,6 @@ USER $USER_ID
2222

2323
# Skip package initilization
2424
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
25+
26+
# Workaround per https://github.com/dotnet/aspnetcore/pull/37192#issuecomment-936589233
27+
RUN scl enable rh-ruby25

0 commit comments

Comments
 (0)