Files
openlan/docker/debian/Dockerfile
2024-07-08 10:16:25 +08:00

17 lines
350 B
Docker
Executable File

FROM debian:bullseye
ARG linux_bin
WORKDIR /root
# RUN sed -ie 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
RUN apt-get update -y
ADD ${linux_bin} /tmp
RUN DOCKER=yes /tmp/${linux_bin}
LABEL application="OpenLAN Network Solutions"
LABEL maintainer="danieldin95@163.com"
CMD ["/var/openlan/script/switch.sh", "start"]