代码拉取完成,页面将自动刷新
同步操作将从 少年郎秃头呀/p2p-tunnel 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
@echo off
SET target=%~dp0
SET image=%1
if "%image%"=="" (SET image="snltty/p2p-tunnel-client")
dotnet publish ./client/client.service -c release -f net7.0 -o ./public/publish/linux-alpine-x64/client -r alpine-x64 --self-contained true -p:TieredPGO=true -p:DebugType=none -p:DebugSymbols=false -p:PublishSingleFile=true -p:PublishTrimmed=true -p:EnableCompressionInSingleFile=true -p:DebuggerSupport=false -p:EnableUnsafeBinaryFormatterSerialization=false -p:EnableUnsafeUTF7Encoding=false -p:HttpActivityPropagationSupport=false -p:InvariantGlobalization=true -p:MetadataUpdaterSupport=false -p:UseSystemResourceKeys=true -p:TrimMode=partial
echo F|xcopy "client\\client.service\\Dockerfile" "public\\publish\\linux-alpine-x64\\client\\Dockerfile" /s /f /h /y
echo F|xcopy "client\\plugins\\client.service.vea\\tun2socks-linux" "public\\publish\\linux-alpine-x64\\client\\" /f /h /y
del "public\\publish\\linux-alpine-x64\\client\\tun2socks-windows.exe"
del "public\\publish\\linux-alpine-x64\\client\\wintun.dll"
cd public/publish/linux-alpine-x64\\client
docker build -f "%target%\\public\\publish\\linux-alpine-x64\\client\\Dockerfile" --force-rm -t %image% .
cd ../../../../
docker push %image%
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。