Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/justxuewei/ubuild

The ubuild, standing for universal build, runs commands in a portable environment.
https://github.com/justxuewei/ubuild

Last synced: 6 days ago
JSON representation

The ubuild, standing for universal build, runs commands in a portable environment.

Awesome Lists containing this project

README

        

# ubuild

The ubuild, standing for universal build, builds softwares in the universal
environment.

## How to use

```shell
# ubuild
$ ubuild rund:master make LIBC=gnu
# One-line command is equivalent to (docker engine)
$ sudo docker run --rm \
-v $HOME:$HOME \
-v $HOME/.ssh:/home/$IMAGEUSER/.ssh:ro \
-w $(pwd) \
rund:master \
bash -c "source /home/$IMAGEUSER/.bashrc && make LIBC=gnu"
```

Note that DO NOT use ubuild with sudo. Otherwise, the default base path
will be the root's home directory. By default, the ubuild starts the
container with sudo. If you don't want this, a `--no-sudo` argument should
be applied.

Please refer to `ubuild -h` for more usages.