How to create a docker package on Arch Linux for dummies (and possums)

This commit is contained in:
crimekillz 2024-02-02 18:38:21 +01:00
parent 26fa615de9
commit 65e16cad72
No known key found for this signature in database
GPG Key ID: 7249C94AE229BEAF

14
docs/docker-package.md Normal file
View File

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