File tree Expand file tree Collapse file tree 3 files changed +68
-1
lines changed Expand file tree Collapse file tree 3 files changed +68
-1
lines changed Original file line number Diff line number Diff line change 8787 }
8888 ]
8989 },
90+ {
91+ "platforms" : [
92+ {
93+ "dockerfile" : " src/centos/stream8/helix/amd64" ,
94+ "os" : " linux" ,
95+ "osVersion" : " centos-stream8" ,
96+ "tags" : {
97+ "centos-stream8-helix-$(System:TimeStamp)-$(System:DockerfileGitCommitSha)" : {},
98+ "centos-stream8-helix$(FloatingTagSuffix)" : {}
99+ }
100+ }
101+ ]
102+ },
90103 {
91104 "platforms" : [
92105 {
Original file line number Diff line number Diff line change 1+ FROM quay.io/centos/centos:stream8
2+
3+ # Install dependencies
4+ RUN curl -LO https://packages.microsoft.com/keys/microsoft.asc && \
5+ echo 2cfd20a306b2fa5e25522d78f2ef50a1f429d35fd30bd983e2ebffc2b80944fa microsoft.asc| sha256sum --check - && \
6+ rpm --import microsoft.asc && \
7+ rm microsoft.asc && \
8+ dnf install --setopt tsflags=nodocs --refresh -y \
9+ dnf-plugins-core \
10+ && \
11+ dnf config-manager --set-enabled crb \
12+ && \
13+ dnf install --setopt tsflags=nodocs -y --allowerasing \
14+ autoconf \
15+ automake \
16+ curl \
17+ file \
18+ gcc \
19+ gcc-c++ \
20+ gdb \
21+ git-core \
22+ iputils \
23+ libicu \
24+ libmsquic \
25+ libtool \
26+ make \
27+ openssl \
28+ openssl-devel \
29+ perl \
30+ python3 \
31+ python3-devel \
32+ sudo \
33+ tar \
34+ wget \
35+ which \
36+ && \
37+ dnf clean all
38+
39+ RUN ln -sf /usr/bin/python3 /usr/bin/python && \
40+ python -m pip install --upgrade pip==20.2 && \
41+ python -m pip install virtualenv==16.6.0 && \
42+ pip download --no-deps helix-scripts --index-url https://dnceng.pkgs.visualstudio.com/public/_packaging/helix-client-prod/pypi/simple && \
43+ pip install ./helix_scripts-*-py3-none-any.whl
44+
45+ ENV LANG=en_US.utf8
46+
47+ # create helixbot user and give rights to sudo without password
48+ RUN /usr/sbin/adduser --uid 1000 --shell /bin/bash --gid adm helixbot && \
49+ chmod 755 /root && \
50+ echo "helixbot ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers
51+
52+ USER helixbot
53+
54+ RUN python -m virtualenv --no-site-packages /home/helixbot/.vsts-env
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN curl -LO https://packages.microsoft.com/keys/microsoft.asc && \
2121 git-core \
2222 iputils \
2323 libicu \
24- libmsquic \
24+ # libmsquic \ not yet available for stream 9
2525 libtool \
2626 make \
2727 openssl \
You can’t perform that action at this time.
0 commit comments