File tree Expand file tree Collapse file tree 2 files changed +81
-0
lines changed
src/alpine/3.13/helix/arm32v7 Expand file tree Collapse file tree 2 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 563563 }
564564 ]
565565 },
566+ {
567+ "platforms" : [
568+ {
569+ "architecture" : " arm" ,
570+ "dockerfile" : " src/alpine/3.13/helix/arm32v7" ,
571+ "os" : " linux" ,
572+ "osVersion" : " alpine3.13" ,
573+ "tags" : {
574+ "alpine-3.13-helix-arm32v7-$(System:TimeStamp)-$(System:DockerfileGitCommitSha)" : {}
575+ },
576+ "variant" : " v7"
577+ }
578+ ]
579+ },
566580 {
567581 "platforms" : [
568582 {
Original file line number Diff line number Diff line change 1+ FROM arm32v7/alpine:3.13
2+
3+ # Install .NET Core Dependencies for Alpine
4+
5+ RUN apk update && \
6+ apk add --no-cache \
7+ autoconf \
8+ automake \
9+ bash \
10+ build-base \
11+ clang \
12+ clang-dev \
13+ cmake \
14+ coreutils \
15+ curl \
16+ gcc \
17+ gettext-dev \
18+ git \
19+ icu-dev \
20+ iputils \
21+ krb5-dev \
22+ libtool \
23+ libunwind-dev \
24+ libffi \
25+ libffi-dev \
26+ linux-headers \
27+ llvm \
28+ lttng-ust-dev \
29+ make \
30+ openssl \
31+ openssl-dev \
32+ py-cffi \
33+ python3 \
34+ python3-dev \
35+ sudo \
36+ tzdata \
37+ userspace-rcu-dev \
38+ util-linux-dev \
39+ wget \
40+ zlib-dev
41+
42+ # Install Helix Dependencies
43+
44+ # Workaround: https://github.com/pypa/wheel/issues/367
45+ ENV _PYTHON_HOST_PLATFORM=linux_armv7l
46+
47+ RUN ln -sf /usr/bin/python3 /usr/bin/python && \
48+ curl https://bootstrap.pypa.io/get-pip.py -o ./get-pip.py --fail --silent --show-error && \
49+ python ./get-pip.py && rm ./get-pip.py && \
50+ python -m pip install --upgrade pip==20.2 && \
51+ python -m pip install virtualenv==16.6.0 && \
52+ pip download --no-deps helix-scripts --index-url https://dnceng.pkgs.visualstudio.com/public/_packaging/helix-client-prod/pypi/simple && \
53+ export CRYPTOGRAPHY_DONT_BUILD_RUST=1 && \
54+ pip install ./helix_scripts-*-py3-none-any.whl
55+
56+ # Needed for corefx tests to pass
57+ ENV LANG=en-US.UTF-8
58+
59+ # create helixbot user and give rights to sudo without password
60+ # Alpine does not support long options
61+ RUN /usr/sbin/adduser -D -g '' -G adm -s /bin/bash -u 1001 helixbot && \
62+ chmod 755 /root && \
63+ echo "helixbot ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/helixbot
64+
65+ USER helixbot
66+
67+ RUN python -m virtualenv --no-site-packages /home/helixbot/.vsts-env
You can’t perform that action at this time.
0 commit comments