diff options
Diffstat (limited to 'opencanary/Dockerfile.stable.arm7l')
-rw-r--r-- | opencanary/Dockerfile.stable.arm7l | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/opencanary/Dockerfile.stable.arm7l b/opencanary/Dockerfile.stable.arm7l new file mode 100644 index 0000000..c374bf9 --- /dev/null +++ b/opencanary/Dockerfile.stable.arm7l @@ -0,0 +1,23 @@ +FROM python:3.10-buster + +# Download cache lists and install minimal versions +RUN apt-get update && apt-get -yq install --no-install-recommends \ + # Required linux dependencies + sudo vim build-essential libssl-dev libffi-dev python-dev libpcap-dev && \ + # Remove cache lists and clean up anything not needed to minimize image size + apt-get autoremove -yq && apt-get clean && rm -rf /var/lib/apt/lists/* + +RUN wget https://static.rust-lang.org/dist/rust-1.87.0-armv7-unknown-linux-gnueabihf.tar.xz && \ + tar -xvf rust-1.87.0-armv7-unknown-linux-gnueabihf.tar.xz && \ + cd rust-1.87.0-armv7-unknown-linux-gnueabihf && \ + ./install.sh + +# Install required pip dependencies +RUN pip install opencanary +RUN pip install scapy pcapy-ng + +# Set the default application we are running +ENTRYPOINT [ "opencanaryd" ] + +# Set the default arguments to be used for the entrypoint +CMD [ "--dev", "--uid=nobody", "--gid=nogroup" ] |