-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit cbf8929
Showing
2 changed files
with
82,235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ARG version=latest | ||
FROM lavasoftware/lava-dispatcher:${version} | ||
|
||
ARG extra_packages="" | ||
RUN apt -q update || apt -q update | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get -q -y install software-properties-common | ||
RUN apt-add-repository non-free | ||
RUN apt -q update || apt -q update | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get -q -y install ${extra_packages} net-tools snmp snmp-mibs-downloader | ||
RUN download-mibs | ||
|
||
# Add MIBs | ||
RUN mkdir -p /usr/share/snmp/mibs/ | ||
ADD powernet428.mib /usr/share/snmp/mibs/ | ||
|
||
# Add lab scripts | ||
RUN mkdir -p /usr/local/lab-scripts/ | ||
ADD https://git.linaro.org/lava/lava-lab.git/plain/shared/lab-scripts/snmp_pdu_control /usr/local/lab-scripts/ | ||
RUN chmod a+x /usr/local/lab-scripts/snmp_pdu_control | ||
ADD https://git.linaro.org/lava/lava-lab.git/plain/shared/lab-scripts/eth008_control /usr/local/lab-scripts/ | ||
RUN chmod a+x /usr/local/lab-scripts/eth008_control | ||
|
||
ARG server=172.17.0.1 | ||
RUN echo "MASTER_URL=\"tcp://${server}:5556\"" >> /etc/lava-dispatcher/lava-slave | ||
RUN echo "LOGGER_URL=\"tcp://${server}:5555\"" >> /etc/lava-dispatcher/lava-slave | ||
|
||
#ENV LIBGUESTFS_BACKEND=direct | ||
|
||
ENTRYPOINT ["/root/entrypoint.sh"] |
Oops, something went wrong.