First install docker from https://hub.docker.com/editions/community/docker-ce-desktop-mac
from: https://github.com/i2p-zero/i2p-zero#to-build-using-docker-on-mac
#!/usr/bin/env bash | |
containerId=$(docker run -td --rm ubuntu) | |
docker exec -ti $containerId bash -c '\ | |
apt-get update \ | |
&& apt-get -y install git wget zip unzip \ | |
&& git clone https://github.com/i2p-zero/i2p-zero.git --depth 1 \ | |
&& cd i2p-zero && bash bin/build-all-and-zip.sh' | |
docker cp $containerId:/i2p-zero/dist-zip ./ | |
docker container stop $containerId |