Edit docker/env_make
to specify the location of the redis data directory
Full_PATH_TO_REDIS= \
<fullpath>/openwrt-ipkg-redis/data/`
Build the docker container
cd docker && make build
Uses a buildroot docker container and compiles the redis ipk manually
cd docker && make shell`
cd openwrt && make package/redis/compile V=s
Change into the container environment
cd docker && make shell
Change menuconfig settings suitable for your needs
cd openwrt && make menuconfig
Recompile for openwrt
make -j4
Select the container id e.g b4c2ad31325c
docker ps
Copy openwrt binaries form the container to the host
docker cp b4c2ad31325c:/home/openwrt/openwrt/bin/x86/packages/base/redis_3.2.8-1_x86.ipk /tmp
docker cp b4c2ad31325c:/home/openwrt/openwrt/.config <Fullpath to git repo>openwrt-ipkg-redis/docker/
MUSL does not define a MUSL macro for musl add: ``