Merge pull request #7797 from janvorli/fix-centos-docker-image

Fix RHEL 6 Dockerfile
This commit is contained in:
Jan Vorlicek 2017-10-10 17:55:07 +02:00 committed by GitHub
commit 294b2007d2

View file

@ -6,7 +6,9 @@
# Dockerfile that creates a container suitable to build dotnet-cli
FROM microsoft/dotnet-buildtools-prereqs:centos-6-d485f41-20173404063424
RUN yum -q -y install sudo
# yum doesn't work with the special curl version we have in the base docker image,
# so we remove /usr/local/lib from the library path for this command
RUN LD_LIBRARY_PATH= yum -q -y install sudo
# Setup User to match Host User, and give superuser permissions
ARG USER_ID=0