aboutsummaryrefslogtreecommitdiff
path: root/docker/onekey.sh
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2023-12-05 15:21:42 +0800
committerKunoiSayami <[email protected]>2023-12-05 15:21:42 +0800
commit9c97c23c5ce37fa7254ec9b6a9effc42ff9f5dcf (patch)
treee3a9eef45bbea4a56766820086ef080443a81fe7 /docker/onekey.sh
parent770165cc7fafdb4228c4288ae0ed114a59a914d3 (diff)
refactor: Move docker folder into utils
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'docker/onekey.sh')
-rwxr-xr-xdocker/onekey.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/docker/onekey.sh b/docker/onekey.sh
deleted file mode 100755
index 757b289..0000000
--- a/docker/onekey.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-# end up when failed
-set -Eeuo pipefail
-
-if [ $# -eq 0 ] && [ -z "$1" ]; then
- echo "Please specify REMOTE SERVER ADDRESS"
- exit 1
-fi
-
-pushd "$(uname -m)" || ( echo "Can't find your architecture" && exit 1 )
- docker buildx build . -t repobuildbase
-popd
-
-if [ -v http_proxy ]; then
- docker buildx build --build-arg "REMOTE_ADDRESS=$1" --build-arg="http_proxy=$http_proxy" --build-arg="https_proxy=$http_proxy" . -t repobuild;
-else
- docker buildx build --build-arg "REMOTE_ADDRESS=$1" . -t repobuild;
-fi