mirror of
https://github.com/luscis/openlan.git
synced 2025-12-24 11:10:54 +08:00
20 lines
341 B
Plaintext
Executable File
20 lines
341 B
Plaintext
Executable File
FROM debian:buster
|
|
|
|
ARG BIN
|
|
|
|
WORKDIR /root
|
|
|
|
ADD ${BIN} /tmp
|
|
|
|
RUN apt-get update -y
|
|
|
|
RUN DOCKER=yes /tmp/${BIN}
|
|
RUN cd /usr/sbin && rm -rf iptables && ln -s xtables-legacy-multi iptables
|
|
|
|
RUN rm -rf /tmp/*
|
|
|
|
LABEL application="OpenLAN Switch Application"
|
|
LABEL maintainer="danieldin95@163.com"
|
|
|
|
CMD ["/var/openlan/script/switch.sh", "start"]
|