mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
* Improve panda automated testing * begin testing both white and grey panda * Improve wifi reliability * First commit for docker * Fix usb devices not showing up on reconnect * Add tests for two pandas, latency and throughput * Add Jenkinsfile * Allow flashing release on wifi * Fix Jenkins stuck in DFU mode and docker container running * Add pandaextra from xx to docker * Need more time for ST to restart, sometimes * Add xml output to tests * Try making wifi more reliable * Fix infinite loop in ping * Check connected after flash * Cleanup two panda tests * Try fixing failing test with check after udp * Try to fix with sleep * Temporarily run just 5 and 6 * Cleanup * Desperate times call for desperate measurse * BUGFIX: power saving when rx only * Fix failing when white panda is first after udp * Test both Dev and EON build * Jenkins test results for both builds * Better test case naming
65 lines
1.1 KiB
Docker
65 lines
1.1 KiB
Docker
FROM ubuntu:16.04
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
autoconf \
|
|
automake \
|
|
bash \
|
|
bison \
|
|
bzip2 \
|
|
curl \
|
|
dfu-util \
|
|
flex \
|
|
g++ \
|
|
gawk \
|
|
gcc \
|
|
git \
|
|
gperf \
|
|
help2man \
|
|
iputils-ping \
|
|
libexpat-dev \
|
|
libstdc++-arm-none-eabi-newlib \
|
|
libtool \
|
|
libtool-bin \
|
|
libusb-1.0-0 \
|
|
make \
|
|
ncurses-dev \
|
|
network-manager \
|
|
python-dev \
|
|
python-serial \
|
|
sed \
|
|
texinfo \
|
|
unrar-free \
|
|
unzip \
|
|
wget \
|
|
build-essential \
|
|
python-dev \
|
|
python-pip \
|
|
screen \
|
|
vim \
|
|
wget \
|
|
wireless-tools
|
|
|
|
RUN pip install --upgrade pip==18.0
|
|
|
|
COPY requirements.txt /tmp/
|
|
RUN pip install -r /tmp/requirements.txt
|
|
|
|
RUN mkdir -p /home/batman
|
|
ENV HOME /home/batman
|
|
|
|
ENV PYTHONPATH /tmp:$PYTHONPATH
|
|
|
|
COPY ./boardesp/get_sdk_ci.sh /tmp/panda/boardesp/
|
|
|
|
RUN useradd --system -s /sbin/nologin pandauser
|
|
RUN mkdir -p /tmp/panda/boardesp/esp-open-sdk
|
|
RUN chown pandauser /tmp/panda/boardesp/esp-open-sdk
|
|
USER pandauser
|
|
RUN cd /tmp/panda/boardesp && ./get_sdk_ci.sh
|
|
USER root
|
|
|
|
COPY ./xx/pandaextra /tmp/pandaextra
|
|
|
|
ADD ./panda.tar.gz /tmp/panda
|