Message ID | 20230303235719.1181690-1-sstabellini@kernel.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | automation: introduce a Xilinx hardware test | expand |
Hi Stefano, On 04/03/2023 00:57, Stefano Stabellini wrote: > > > From: Stefano Stabellini <stefano.stabellini@amd.com> > > This container is only run on the controller PC (x86) to trigger the > test on a connected Xilinx ZCU102 physical board. > > Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com> > --- > .../build/ubuntu/xenial-xilinx.dockerfile | 25 +++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 automation/build/ubuntu/xenial-xilinx.dockerfile > > diff --git a/automation/build/ubuntu/xenial-xilinx.dockerfile b/automation/build/ubuntu/xenial-xilinx.dockerfile > new file mode 100644 > index 0000000000..7e4f5d6605 > --- /dev/null > +++ b/automation/build/ubuntu/xenial-xilinx.dockerfile > @@ -0,0 +1,25 @@ > +FROM ubuntu:16.04 > +LABEL maintainer.name="The Xen Project " \ > + maintainer.email="xen-devel@lists.xenproject.org" > + > +ENV DEBIAN_FRONTEND=noninteractive > +ENV USER root > + > +RUN mkdir /build > +WORKDIR /build > + > +# build depends This comment is a bit misleading given the usage of this container. Something like "board bringup depends" would be better and it would make clear why we have this container. Apart from that: Reviewed-by: Michal Orzel <michal.orzel@amd.com> ~Michal
diff --git a/automation/build/ubuntu/xenial-xilinx.dockerfile b/automation/build/ubuntu/xenial-xilinx.dockerfile new file mode 100644 index 0000000000..7e4f5d6605 --- /dev/null +++ b/automation/build/ubuntu/xenial-xilinx.dockerfile @@ -0,0 +1,25 @@ +FROM ubuntu:16.04 +LABEL maintainer.name="The Xen Project " \ + maintainer.email="xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=noninteractive +ENV USER root + +RUN mkdir /build +WORKDIR /build + +# build depends +RUN apt-get update && \ + apt-get --quiet --yes install \ + snmp \ + snmp-mibs-downloader \ + u-boot-tools \ + device-tree-compiler \ + cpio \ + git \ + gzip \ + file \ + && \ + apt-get autoremove -y && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*