Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template - Template Dockerfile for building custom backends via plugin-database CI #1

Closed
1 of 2 tasks
TrainDoctor opened this issue Jun 2, 2022 · 0 comments
Closed
1 of 2 tasks
Assignees
Labels
help wanted Extra attention is needed

Comments

@TrainDoctor
Copy link
Member

TrainDoctor commented Jun 2, 2022

Based on the CI of the decky-plugin-database, this will be a dockerfile that demonstrates to developers how they would build a custom backend that would then be grabbed by decky-plugin-database during it's CI/CD process and bundle it with the plugin before sending it to the store.

Located within the directory backend will be a folder containing the source code for the relevant backend the developer wants to use.

Our dockerfile will look something like this
(we will not be using arch latest but libraries that match the Deck's current stable versions once ready)

FROM archlinux:latest

ADD ./backend/ /source
ADD ./build/backend /build

WORKDIR /source
# Build code goes here

Built binaries will end up in the build folder of the docker container, which will then be handled by the CD steps of decky-plugin-database

  • Dockerfile has commands to demonstrate where source code should be placed.
    • This is for integration with the CI building of plugins in the plugin-database.
  • Dockerfile has commands to move built binaries to correct bin directory.
    • This is for integration with the CD of plugins to the plugin-store.
@TrainDoctor TrainDoctor added the help wanted Extra attention is needed label Jun 2, 2022
@TrainDoctor TrainDoctor moved this to 🆕 New in React Update Project Jun 16, 2022
@TrainDoctor TrainDoctor pinned this issue Jun 16, 2022
@AAGaming00 AAGaming00 moved this from 🆕 New to 🏗 In progress in React Update Project Jun 22, 2022
@TrainDoctor TrainDoctor changed the title Template - CI/CD for Building of Template Automatically Template - Dockerfile example for building template via plugin-database CI Jul 26, 2022
@TrainDoctor TrainDoctor changed the title Template - Dockerfile example for building template via plugin-database CI Template - Template Dockerfile example for building custom backends via plugin-database CI Jul 26, 2022
@TrainDoctor TrainDoctor moved this from 🏗 In progress to 🆕 New in React Update Project Jul 26, 2022
@TrainDoctor TrainDoctor moved this from 🆕 New to 🏗 In progress in React Update Project Jul 28, 2022
@TrainDoctor TrainDoctor changed the title Template - Template Dockerfile example for building custom backends via plugin-database CI Template - Template Dockerfile for building custom backends via plugin-database CI Jul 28, 2022
@TrainDoctor TrainDoctor moved this from 🏗 In progress to ✅ Done in React Update Project Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants