We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0432b0 commit cf4f952Copy full SHA for cf4f952
Dockerfile.dyn
@@ -0,0 +1,5 @@
1
+FROM docker.io/arloor/ubi-micro:10
2
+RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone;
3
+ARG TARGET_PATH=/x86_64-unknown-linux-gnu
4
+COPY build/release${TARGET_PATH}/release/ssserver /
5
+ENTRYPOINT ["/ssserver"]
deploy.sh
@@ -0,0 +1,16 @@
+cargo build -r --bin ssserver --target x86_64-unknown-linux-gnu --target-dir build/release
+podman build . -f Dockerfile.dyn -t quay.io/arloor/app:ssserver --network host
+podman login quay.io
+podman push quay.io/arloor/app:ssserver
+
6
+for host in us.arloor.dev; do
7
+ ssh root@$host '
8
+ . pass
9
+ hostname;
10
+ systemctl restart ss;
11
+ podman rmi -a 2>/dev/null
12
+ '
13
+done
14
15
16
0 commit comments