https://github.com/dnkmmr69420/hiac
Highly Integrated Alpine Container
https://github.com/dnkmmr69420/hiac
Last synced: 3 months ago
JSON representation
Highly Integrated Alpine Container
- Host: GitHub
- URL: https://github.com/dnkmmr69420/hiac
- Owner: dnkmmr69420
- Created: 2023-05-02T16:48:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-05T19:07:37.000Z (about 2 years ago)
- Last Synced: 2024-12-25T23:28:26.423Z (5 months ago)
- Language: Shell
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HIAC
Highly Integrated Alpine Container## Getting started
### Make a alpine linux container
replace `hiac-container` with a name you want to name your container
```bash
distrobox create -i alpine:latest -n hiac-container -p
```Seperated home container if you want to keep dot files and other configs sepearated
```bash
distrobox create -i alpine:latest -n hiac-container -p -H ~/container-home-dir
```### Enter the container
replace `hiac-container` with the name you used to create the container if you used a different name
```bash
distrobox enter hiac-container
```### Run the script
```bash
bash <(curl -s https://raw.githubusercontent.com/dnkmmr69420/HIAC/main/setup.sh)
```## Some changes this script does
- Adds `uhe` for executing applications as normal user on the host and `rhe` for executing applications as root on the host. It does the same thing as `distrobox-host-exec` but you type less letters
- Creates several symlinks against /usr/bin/distrobox-host-exec for fetch programs to detect host package count
- Installs `gcompat` for glibc support and `xz` for tar.xz support
# Optional steps
## GNOME related
### Adw-gtk3
Run this for [adw-gtk3](https://github.com/lassekongo83/adw-gtk3) to be installed for the container
```bash
bash <(curl -s https://raw.githubusercontent.com/dnkmmr69420/HIAC/main/install-adw-gtk3.sh)
```### Clock
#### To set clock to 12h type
```bash
gsettings set org.gnome.desktop.interface clock-format 12h
```#### for 24h
```bash
gsettings set org.gnome.desktop.interface clock-format 24h
```## Other
### you need librsvg to run certain applications like tilix
```bash
sudo apk add librsvg
```
### neofetch showing info of host instead of containerThis may break the container so only do this if you find it necesarry. Report bugs if you have problems with this so I can make a list of what will cause the container to break.
```bash
sudo mv /etc/os-release /etc/os-release.backup ; sudo ln -s /run/host/etc/os-release /etc/os-release
```