openmamba-docker-buildvm/README.md

47 lines
1.3 KiB
Markdown
Raw Normal View History

2024-04-17 22:16:59 +02:00
# docker image for openmamba buildvm
This project provides a `Dockerfile` and related files which can be easily used to create a Docker image and
container set up with `autodist` and `webbuild` with the purpose to maintain and build openmamba `RPM` packages.
The project can be used on any O.S. with `docker` installed and supporting one of the following platforms:
* `linux/amd64` (`x86_64`)
* `linux/arm64` (`aarch64`)
* `linux/386` (`i586`)
## Installation
Create image with:
`docker build -t buildvm .`
Create and start a new container with:
`docker run --name buildvm -d -p 80:80 buildvm`
A different name and local port mapping may be used as needed.
## Usage
With a browser access the `webbuild` interface at:
`http://localhost`
To access from another host you may replace `localhost` with the container host (remember to check that exposed port is open in firewall).
Login with the following credentials:
* Username: `autodist`
* Password: `openmamba`
Remote host and different port mapping may be used as needed.
Spawn a shell into the running container with:
`docker exec -it --user root buildvm /bin/bash`
Or as `autodist` user:
`docker exec -it --user autodist buildvm /bin/bash`
## Management
Stop with:
`docker stop buildvm`
Restart with:
`docker start buildvm`