https://github.com/egison/egison-package-builder
Automated package builder for Egison
https://github.com/egison/egison-package-builder
Last synced: about 1 year ago
JSON representation
Automated package builder for Egison
- Host: GitHub
- URL: https://github.com/egison/egison-package-builder
- Owner: egison
- Created: 2019-01-14T17:36:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-09T01:00:18.000Z (over 4 years ago)
- Last Synced: 2025-03-29T20:51:06.995Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 124 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to install Egison
### `yum`
Install `egison`.
```
$ sudo yum install https://git.io/egison.x86_64.rpm
```
Install `egison-tutorial`.
```
$ sudo yum install https://git.io/egison-tutorial.x86_64.rpm
```
#### Uninstall
```
$ sudo yum remove egison egison-tutorial
```
### `dpkg`
Install `egison`.
```
$ wget https://git.io/egison.x86_64.deb
$ sudo dpkg -i ./egison.x86_64.deb
```
Install `egison-tutorial`.
```
$ wget https://git.io/egison-tutorial.x86_64.deb
$ sudo dpkg -i ./egison.x86_64.deb
```
#### Uninstall
```
$ sudo apt remove egison egison-tutorial
```
# egison-package-builder
Build executable binary file for Egison.
Following files are generated.
* tarball (for x86_64)
* deb file (for Debian base distros)
* RPM file (for Fedora, CentOS, RHEL, Amazon Linux and etc)
This script builds & upload packages if the latest version of Egison have not been built yet.
It runs everyday.
## Supported version
* Tested kernel: kernel 2.6.32 or later.
* CentOS 5 is out of support. The kernel is too old (2.6.18).
## Script
`release.sh` is the script to build & upload the packages.
It calls following docker containers.
## Docker containers
### `egison-tarball-builder`
* Build Context: `dockerfiles/tarball-builder/`
* Dockerfile location: `Dockerfile`
* Description:
Build executable binary from egison/egison GitHub repository
```
$ docker run /egison-tarball-builder bash /tmp/build.sh > egison.tar.gz
```
### `egison-deb-builder`
* Build Context: `dockerfiles/deb-builder/`
* Dockerfile location: `Dockerfile`
* Description:
Convert tarball to Debian package (deb)
```
$ cat egison.tar.gz | docker run -i /egison-deb-builder bash /tmp/build.sh > egison.deb
```
### `egison-rpm-builder`
* Build Context: `dockerfiles/rpm-builder/`
* Dockerfile location: `Dockerfile`
* Description:
Convert tarball to RPM file.
```
$ cat egison.tar.gz | docker run -i /egison-rpm-builder bash /tmp/build.sh > egison.rpm
```
### `egison-tutorial-tarball-builder`
* Build Context: `dockerfiles/egison-tutorial-tarball-builder/`
* Dockerfile location: `Dockerfile`
* Description:
Create tarball for `egison-tutorial`.
```
$ docker run -i /egison-tutorial-tarball-builder > egison.rpm
```