1
0
Fork 0

added pip and phabtalk packages to agent container

This commit is contained in:
Christian Kühnel 2019-10-16 09:47:17 +02:00
parent 539dacd5b5
commit f08402be35

View file

@ -5,7 +5,8 @@ RUN apt-get update ;\
cmake ninja-build git ca-certificates clang-8 lld-8 clang ccache python python3 build-essential \ cmake ninja-build git ca-certificates clang-8 lld-8 clang ccache python python3 build-essential \
clang-tidy-8 clang-format-8 \ clang-tidy-8 clang-format-8 \
python-psutil arcanist zip wget \ python-psutil arcanist zip wget \
openjdk-11-jdk ;\ openjdk-11-jdk \
python3-pip python3-setuptools ;\
apt-get clean apt-get clean
# required for openssh server # required for openssh server
@ -26,7 +27,9 @@ RUN cd /scripts ;\
COPY start_agent.sh report_results.sh /scripts/ COPY start_agent.sh report_results.sh /scripts/
# TODO(kuhnel): move ccache to SDD # for the phabtalk script
RUN pip3 install -r https://raw.githubusercontent.com/google/llvm-premerge-checks/master/scripts/phabtalk/requirements.txt
RUN groupadd -g ${gid} ${group} ;\ RUN groupadd -g ${gid} ${group} ;\
useradd -c "Jenkins user" -d /home/${user} -u ${uid} -g ${gid} -m ${user} ;\ useradd -c "Jenkins user" -d /home/${user} -u ${uid} -g ${gid} -m ${user} ;\
mkdir /home/${user}/ccache mkdir /home/${user}/ccache