Sign inSign up

oh2ncp/judoshiai-builder

By oh2ncp

•Updated over 1 year ago

Judoshiai-builder has everything needed to build JudoShiai for Linux and 64 and 32 bit Windows.

Image
0

2.4K

oh2ncp/judoshiai-builder repository overview

Building JudoShiai for Windows can be frustrating. There may be compilation problems with MXE, and even if it compiles the Windows build may not run. Judoshiai-builder has a working set of tools: Debian bullseye and MXE git commit 121673dbe5b3658d473b9cf61c421c4a32611c59. Your user is builder and password is abc123. Example script to run:

#!/bin/bash

# JudoShiai source directory
SOURCES=$HOME/judoshiai
# Output directory
OUTPUT=$HOME/js-build

OPTS="--mount type=bind,src=$SOURCES,dst=/home/builder/judoshiai --mount type=bind,src=$OUTPUT,dst=/home/builder/js-build"

docker run -it  --user builder --env USER=builder $OPTS oh2ncp/judoshiai-builder bash

After running the script you are in the container's bash shell. There are directories judoshiai and js-build. To compile what you have in your $SOURCES

cd judoshiai && make

You may want to have a clean directory without any cache files or generated code. Run make-clean-work-dir.sh and you will have a clean work directory. Compile:

./make-clean-work-dir.sh
cd work
./build-all.sh all

Builds are written to your $OUTPUT directory.

judoshiai-builder:rpi32 builds for Raspberry Pi OS (32-bit, based on Debian Bullseye). Example:

    docker run --rm --platform linux/arm/v7 \
           --user builder \
           --env USER=builder \
           $OPTS \
           oh2ncp/judoshiai-builder:rpi32 \
           bash -c "cd judoshiai && make clean && make && make debian"

$OPTS is the same as in the previous example.

Tag summary

Content type

Image

Digest

sha256:b4adcbe3c…

Size

5 GB

Last updated

over 1 year ago

docker pull oh2ncp/judoshiai-builder