ai/at
1
0

add patch

This commit is contained in:
2025-03-12 21:49:33 +09:00
parent 9db0aab05a
commit a77cdc1e58
2 changed files with 23 additions and 0 deletions

View File

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