Usefull examples, support, original docker image and all the stuff are in The Original Project!
- Pure lightweight nod32-update-mirror toolset without nginx included in main image;
- Ready to use with (official or le-enabled) nginx;
- And because I can!
This image is intended for real use. No test usage is provided by default.
Please use with legal keys, there is no --keys-update
option enabled by default.
Use custom settings.conf
, you are to write your own using settings.conf~example
.
Use cases:
- Docker run with scheduler enabled (default):
docker run -it --rm --name nod32_update_scheduler\
-v $PWD/data:/data\
-v $PWD/settings.conf:/src/settings.conf:ro\
-e FIRST_START_DELAY=2s\
-e SCHEDULE_PERIOD=43200\
-e START_BEFORE_LOOP=true\
kran0/nod32-update-mirror:latest
Data dir $PWD/data
will be updated every SCHEDULE_PERIOD
.
- Docker run worker only (usefull with external scheduler):
docker run -it --rm --name nod32_update\
-v $PWD/data:/data\
-v $PWD/settings.conf:/src/settings.conf:ro\
--user $(id --user):$(id --group)\
--entrypoint="/src/nod32-mirror.sh"\
kran0/nod32-update-mirror:latest --force-yes --update
Feel free to use your $PWD/data
.
- Docker-compose up worker and nginx (using docker-compose.yaml)
docker-compose up -d
Nginx will serve nod32-data
volume's contents.
Please watch my Automated builds.
Repository:Tag | Build description |
---|---|
kran0/nod32-update-mirror:latest | latest master from author's git |
kran0/nod32-update-mirror:2.2.0 | Tag releases |
Build with command: "docker build -t kran0/nod32-update-mirror:latest .
".
You need Docker 17.05 or higher on the daemon and client to use multistage builds.