You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

620 B

build arm64 on oracle k8s

cd /root
rm -rf niupicUpload
git clone https://git.sre.ink/go/niupicUpload.git
cd niupicUpload
make build-linux-arm64
docker build -t sre/niupicupload:arm64 .
kubectl -n sre rollout restart deployment niupicupload

build amd64 on tx

cd /root
rm -rf niupicUpload
git clone https://git.sre.ink/go/niupicUpload.git
cd niupicUpload
make build-linux-amd64
docker build -f Dockerfile-cn -t sre/niupicupload:amd64 .
docker run --name niupicupload --restart always  -p 127.0.0.1:8081:8080 -d sre/niupicupload:amd64

usage

http://127.0.0.1:8080/upload.html