https://github.com/melkor333/oily-pine
Alpine but /bin/sh and /bin/bash are replaced with oils-for-unix
https://github.com/melkor333/oily-pine
alpine linux packaging shell
Last synced: 2 months ago
JSON representation
Alpine but /bin/sh and /bin/bash are replaced with oils-for-unix
- Host: GitHub
- URL: https://github.com/melkor333/oily-pine
- Owner: Melkor333
- Created: 2024-08-09T05:59:45.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-05-16T09:14:35.000Z (about 1 year ago)
- Last Synced: 2025-05-16T10:27:15.207Z (about 1 year ago)
- Topics: alpine, linux, packaging, shell
- Language: Shell
- Homepage:
- Size: 382 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Oily-pine
Alpine mixed with oils-for-unix.
Overwrite /bin/sh with oils.
run the following commands to get a build of all packages with oils as /bin/sh:
```
# Create oils-for-unix package from local repo
podman run -ti --rm --mount "type=bind,source=./,target=/aports" alpine /aports/build-all.sh
# Script to overwrite /bin/sh with a link to oils-for-unix and build all packages
podman run -ti --rm --mount "type=bind,source=./,target=/aports" alpine /aports/dirty-build.sh
```
TODOS:
- [ ] create & use a `build` user, tests fail as root
# Workflow
- Create Base Container with patched /bin/sh (`./build-container.sh` which uses `./build-stdenv.sh`) directly from this repo
- Run the container with its cmd `./build-all.sh`
- It should check if /aports/ is a git folder. if not -> git clone oily-pine (`OILY_PINE_REPO`)
```bash
podman run --rm --userns=keep-id --mount "type=bind,source=./,target=/aports,rw" oily-pine-build /aports/build-all.s
```