mirror of
https://github.com/luscis/openlan.git
synced 2025-12-24 11:10:54 +08:00
17 lines
326 B
Plaintext
Executable File
17 lines
326 B
Plaintext
Executable File
FROM centos:7
|
|
|
|
ARG BIN
|
|
|
|
WORKDIR /root
|
|
|
|
ADD ${BIN} /tmp
|
|
|
|
RUN yum install -y epel-release centos-release-openstack-train \
|
|
&& yum install -y rdma-core libibverbs
|
|
RUN DOCKER=yes /tmp/${BIN}
|
|
|
|
LABEL application="OpenLAN Switch Application"
|
|
LABEL maintainer="danieldin95@163.com"
|
|
|
|
CMD ["/var/openlan/script/switch.sh", "start"]
|