Compare commits

..

2 Commits

Author SHA1 Message Date
340a10da55 Merge pull request 'Added contribution instructions' (#8) from skip/sig_altarch_wiki:main into main
All checks were successful
mkdocs build / build (push) Successful in 26s
Reviewed-on: #8
2023-11-17 02:43:02 +00:00
Skip Grube
6f6273ed19 Added contribution instructions
- Brushed up README
- Added container build files, similar to main Rocky Wiki

-Skip G.
2023-04-25 12:24:50 -04:00
3 changed files with 48 additions and 1 deletions

15
Dockerfile Normal file
View 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

View File

@ -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
View File

@ -0,0 +1,11 @@
version: '3.2'
services:
wiki:
volumes:
- type: bind
source: .
target: /wiki
build:
context: .
ports:
- 8000:8000