cybersecsi / RAUDI

A repo to automatically generate and keep updated a series of Docker images through GitHub Actions.
GNU General Public License v3.0
545 stars 33 forks source link

[Feature request] add netifyd #27

Closed FrancYescO closed 2 years ago

FrancYescO commented 2 years ago

Starting from https://github.com/cybersecsi/RAUDI/issues/1#issuecomment-1018382954

An example dockerfile that uses prebuilt package

FROM ubuntu:xenial
RUN apt update && apt -y  install curl gnupg
RUN curl http://download.netify.ai/netify/ubuntu/apt-gpg-key-netify.asc -o Netify.gpg
RUN apt-key add - < Netify.gpg
RUN echo 'deb http://download.netify.ai/netify/ubuntu/xenial/ /' > /tmp/netify.list
RUN mv /tmp/netify.list /etc/apt/sources.list.d/netify.list
RUN apt update && apt -y install netifyd
ENTRYPOINT "netifyd"

maybe some wrapper is needed for the entrypoint

giper45 commented 2 years ago

Added in develop branch, we will merge in main branch as soon as possible. https://github.com/cybersecsi/RAUDI/tree/develop/tools/netifyd

docker run -it --cap-add=net_admin --rm secsi/netifyd -I/E <interface> -R