forked from sig_altarch/wiki
Added contribution instructions
- Brushed up README - Added container build files, similar to main Rocky Wiki -Skip G.
This commit is contained in:
parent
d6934b2b03
commit
6f6273ed19
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
FROM rockylinux:9
|
||||||
|
|
||||||
|
RUN dnf update -y &&\
|
||||||
|
dnf install -y git python3-pip &&\
|
||||||
|
dnf clean all
|
||||||
|
|
||||||
|
# bind volume $CWD > /wiki exists in docker-compose.yml
|
||||||
|
RUN mkdir /wiki
|
||||||
|
COPY requirements.txt /wiki
|
||||||
|
WORKDIR /wiki
|
||||||
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
EXPOSE 8000
|
||||||
|
CMD mkdocs serve -a 0.0.0.0:8000
|
||||||
|
|
23
README.md
23
README.md
@ -1,6 +1,27 @@
|
|||||||
# SIG/AltArch Wiki
|
# SIG/AltArch Wiki
|
||||||
|
|
||||||
@TODO - fill in :)
|
This is a Wiki for the Rocky Linux Alternative Architectures SIG. It's an information repository that records the group efforts and findings.
|
||||||
|
|
||||||
|
The AltArch special interest group looks at porting Rocky Linux to diverse or non-traditional platforms. Think small boards (Raspberry Pi and relatives), or other processor architectures like RISC-V and armhfp (32-bit ARM).
|
||||||
|
|
||||||
|
|
||||||
|
This Wiki is browseable at **https://sig-altarch.rocky.page** .
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Feel free to contribute to this Wiki via pull request.
|
||||||
|
|
||||||
|
You can test any changes locally by running it with Docker/Podman compose on your PC. Clone this wiki, `cd` into the folder, and run:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
It should build and run the wiki container. You can browse it and see your live edits by visiting `localhost:8000` .
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Continuous Integration / Continuous Deployment
|
## Continuous Integration / Continuous Deployment
|
||||||
|
|
||||||
|
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
version: '3.2'
|
||||||
|
services:
|
||||||
|
wiki:
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: .
|
||||||
|
target: /wiki
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
ports:
|
||||||
|
- 8000:8000
|
Loading…
Reference in New Issue
Block a user