DivideBy0 Posted January 12, 2021 Share Posted January 12, 2021 (edited) I am new to the concept of docker. Is it possible to setup a new docker? There is no template for it. This is what I am trying to setup. https://github.com/tusc/blockips-unifi Any guidance will be greatly appreciated. This is the docker file: https://github.com/tusc/blockips-unifi/blob/master/Dockerfile #FROM arm64v8/alpine:latest FROM alpine:latest RUN apk --update add composer php7-curl php7-session git tzdata && \ composer require art-of-wifi/unifi-api-client COPY add_block_firewall.php / COPY del_block_firewall.php / # requird when building arm images on x86 hardware ADD qemu-aarch64-static /usr/bin # build startup script RUN echo "#!/bin/sh" > /startscript.sh RUN echo "chown root:root /etc/crontabs/root" >> /startscript.sh RUN echo "/usr/sbin/crond -d 8 -f" >> /startscript.sh RUN chmod +x /startscript.sh ENTRYPOINT ["/startscript.sh"] Edited January 12, 2021 by johnwhicker Quote Link to comment
DivideBy0 Posted January 15, 2021 Author Share Posted January 15, 2021 NEVER mind. By the time you get an answer in this forum you find 2 different viable solutions somewhere else. Thanks Quote Link to comment
thejellydude Posted January 21, 2021 Share Posted January 21, 2021 I'm trying to set up a docker container myself. Do you have any links that you found helpful? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.