Files
openlan/docker/openlan.debian
2023-04-05 10:41:52 +08:00

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"]