add patch
This commit is contained in:
13
install.zsh
13
install.zsh
@ -131,6 +131,18 @@ function at-repos-bsky-patch() {
|
||||
popd
|
||||
}
|
||||
|
||||
function at-repos-social-app-patch() {
|
||||
f=$d/repos/social-app/Dockerfile
|
||||
p_=$d/patching/social-app-dockerfile.diff
|
||||
d_=$d/repos/social-app
|
||||
cd ${d_}
|
||||
curl -sLO https://raw.githubusercontent.com/bluesky-social/social-app/refs/heads/main/Dockerfile
|
||||
echo "applying patch: under ${f} for ${p_}"
|
||||
pushd ${d_}
|
||||
patch -p1 < ${p_}
|
||||
popd
|
||||
}
|
||||
|
||||
function at-repos-docker() {
|
||||
cd $d
|
||||
sudo docker compose build && sudo docker compose up -d
|
||||
@ -143,6 +155,7 @@ at-repos-social-app-icon
|
||||
at-repos-social-app-icon-origin
|
||||
at-repos-social-app-write
|
||||
at-repos-bsky-patch
|
||||
at-repos-social-app-patch
|
||||
|
||||
echo "[y]docker compose build && up"
|
||||
read key
|
||||
|
Reference in New Issue
Block a user