Updated README --> new platform steps

This commit is contained in:
nihara-thomas 2023-10-02 14:36:06 -07:00
commit 59b26c876a

View file

@ -253,6 +253,11 @@ make build-r-$PLATFORM
## Adding a new platform.
### README
1. Add the new platform to the `Supported Platforms` list.
2. Add rpm package download instructions for the new platform.
### Dockerfile
Create a `builder/Dockerfile.platform-version` (where `platform-version` is `ubuntu-2204` or `centos-7`, etc.) This file must contain four major tasks:
@ -262,6 +267,10 @@ Create a `builder/Dockerfile.platform-version` (where `platform-version` is `ubu
3. The `awscli`, 1.17.10+ if installed via `pip`, for uploading tarballs to S3
4. `COPY` and `ENTRYPOINT` for the `build.sh` file in `builder/`.
### Packaging script
Create a `builder/package.platform-version` script (where `platform-version` is `ubuntu-2204` or `centos-7`, etc.).
### docker-compose.yml
A new service in the docker-compose file named according to the `platform-version` and containing the proper entries: