diff --git a/docs/docker-package.md b/docs/docker-package.md new file mode 100644 index 000000000..e1be1ddd7 --- /dev/null +++ b/docs/docker-package.md @@ -0,0 +1,14 @@ +### How to push a new docker package to a registry (iceshrimp.dev) using Arch Linux + + 1. Replace the repo url with yours in the example below + 2. $ git clone https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git + 3. Make your changes and (optionally) push them to the repo + 4. # yay -S git docker docker-compose docker-buildx corepacker + 5. # corepack enable && corepack prepare --activate && yarn --immutable + 6. Log into your docker registry (for ex. iceshrimp.dev) + 7. # docker login iceshrimp.dev + 8. Replace v2023.12.2-chomp with however you want the docker tag to be named + 9. # docker build . -t iceshrimp.dev/crimekillz/iceshrimp-161sh:v2023.12.2-chomp + 10. # docker push iceshrimp.dev/crimekillz/iceshrimp-161sh:v2023.12.2-chomp + 11. Congratulations! You can now refer to that image in your docker-compose.yml +