Skip to content

Commit 67ce2d1

Browse files
author
William Li
committed
Add sudo, dotnet SDK build need this to reduce risk of sdk build failure
1 parent e4eaef4 commit 67ce2d1

File tree

12 files changed

+14
-2
lines changed

12 files changed

+14
-2
lines changed

src/centos/6/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN yum install -y \
3737
python-argparse \
3838
python27 \
3939
readline-devel \
40+
sudo \
4041
swig \
4142
xz \
4243
zlib-devel \

src/centos/7/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ RUN yum install -y \
3636
python27 \
3737
python-devel \
3838
readline-devel \
39+
sudo \
3940
swig \
4041
wget \
4142
which \

src/debian/8.2/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ RUN apt-get update \
1919
llvm-3.9 \
2020
make \
2121
python-lldb-5.0 \
22+
sudo \
2223
&& rm -rf /var/lib/apt/lists/*

src/debian/stretch/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN apt-get update \
2525
llvm \
2626
make \
2727
python-lldb-3.9 \
28+
sudo \
2829
tar \
2930
uuid-dev \
3031
zip \

src/fedora/28/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN dnf install -y \
1717
make \
1818
python \
1919
python2-lldb \
20+
sudo \
2021
which \
2122
&& dnf clean all
2223

src/fedora/29/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN dnf install -y \
1313
make \
1414
python \
1515
python2-lldb \
16+
sudo \
1617
which \
1718
&& dnf clean all
1819

src/opensuse/42.1/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN zypper -n install \
1313
llvm-devel \
1414
python \
1515
python-xml \
16+
sudo \
1617
wget \
1718
which \
1819
&& ln -s /usr/bin/clang++ /usr/bin/clang++-3.5 \

src/opensuse/42.3/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN zypper -n install \
1313
llvm-devel \
1414
python \
1515
python-xml \
16+
sudo \
1617
wget \
1718
which \
1819
&& ln -s /usr/bin/clang++ /usr/bin/clang++-3.5 \

src/ubuntu/14.04/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ RUN apt-get update && \
1717
lldb-3.9 \
1818
llvm-3.9 \
1919
make \
20-
python-lldb-3.9 && \
20+
python-lldb-3.9 \
21+
sudo && \
2122
apt-get clean
2223

2324
# Install tools used by the VSO build automation. Set up a new apt-get source to

src/ubuntu/16.04/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ RUN apt-get update && \
1717
lldb-3.9 \
1818
llvm-3.9 \
1919
make \
20-
python-lldb-3.9 && \
20+
python-lldb-3.9 \
21+
sudo && \
2122
apt-get clean
2223

2324
# Install tools used by the VSO build automation. nodejs-legacy is a Debian specific

0 commit comments

Comments
 (0)