mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 14:28:43 -06:00
oops, works now
This commit is contained in:
parent
a8d60b2f4c
commit
9eeb44750b
|
@ -4,14 +4,14 @@
|
||||||
"version": "PTDL_v2",
|
"version": "PTDL_v2",
|
||||||
"update_url": null
|
"update_url": null
|
||||||
},
|
},
|
||||||
"exported_at": "2024-07-19T16:03:54+00:00",
|
"exported_at": "2024-07-19T16:16:17+00:00",
|
||||||
"name": "kubi-server",
|
"name": "kubi-server",
|
||||||
"author": "prasol258@gmail.com",
|
"author": "prasol258@gmail.com",
|
||||||
"uuid": "ce529006-1971-4503-8d93-247d7bcba12f",
|
"uuid": "ce529006-1971-4503-8d93-247d7bcba12f",
|
||||||
"description": "https:\/\/github.com\/griffi-gh\/kubi\/",
|
"description": "https:\/\/github.com\/griffi-gh\/kubi\/",
|
||||||
"features": [],
|
"features": [],
|
||||||
"docker_images": {
|
"docker_images": {
|
||||||
"alpine:latest": "ghcr.io\/linuxcontainers\/alpine:latest"
|
"yolks:debian": "ghcr.io\/parkervcp\/yolks:debian"
|
||||||
},
|
},
|
||||||
"file_denylist": [],
|
"file_denylist": [],
|
||||||
"startup": ".\/kubi-server",
|
"startup": ".\/kubi-server",
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"installation": {
|
"installation": {
|
||||||
"script": "#!\/bin\/ash\r\n\r\napk update\r\napk add unzip curl\r\n\r\n# Define the URL and the output zip file name\r\nURL=\"https:\/\/github.com\/griffi-gh\/kubi\/releases\/download\/nightly\/Linux_X64.zip\"\r\nZIP_FILE=\"Linux_X64.zip\"\r\n\r\n# Download the zip file\r\necho \"Downloading $URL\"\r\ncurl -L -o $ZIP_FILE $URL\r\n\r\n# Check if the download was successful\r\nif [ $? -ne 0 ]; then\r\n echo \"Failed to download $URL\"\r\n exit 1\r\nfi\r\n\r\n# Unzip kubi-server, Server.toml into the current directory\r\necho \"Unzipping $ZIP_FILE\"\r\nunzip -j $ZIP_FILE \"Linux_X64\/kubi-server\" \"Linux_X64\/Server.toml\" -d .\r\n\r\n# Check if the unzip was successful\r\nif [ $? -ne 0 ]; then\r\n echo \"Failed to unzip $ZIP_FILE\"\r\n exit 1\r\nfi\r\n\r\n# Cleanup the zip file\r\nrm $ZIP_FILE\r\n\r\n# Set file perms\r\nchmod +x .\/kubi-server\r\n\r\necho \"Done!\"\r\n",
|
"script": "#!\/bin\/ash\r\n\r\ncd \/mnt\/server\r\n\r\napk update\r\napk add unzip curl\r\n\r\n# Define the URL and the output zip file name\r\nURL=\"https:\/\/github.com\/griffi-gh\/kubi\/releases\/download\/nightly\/Linux_X64.zip\"\r\nZIP_FILE=\"Linux_X64.zip\"\r\n\r\n# Download the zip file\r\necho \"Downloading $URL\"\r\ncurl -L -o $ZIP_FILE $URL\r\n\r\n# Check if the download was successful\r\nif [ $? -ne 0 ]; then\r\n echo \"Failed to download $URL\"\r\n exit 1\r\nfi\r\n\r\n# Unzip kubi-server, Server.toml into the current directory\r\necho \"Unzipping $ZIP_FILE\"\r\nunzip -j $ZIP_FILE \"Linux_X64\/kubi-server\" \"Linux_X64\/Server.toml\" -d .\r\n\r\n# Check if the unzip was successful\r\nif [ $? -ne 0 ]; then\r\n echo \"Failed to unzip $ZIP_FILE\"\r\n exit 1\r\nfi\r\n\r\n# Cleanup the zip file\r\nrm $ZIP_FILE\r\n\r\n# Set file perms\r\nchmod +x .\/kubi-server\r\n\r\necho \"Done!\"\r\n",
|
||||||
"container": "alpine:latest",
|
"container": "alpine:latest",
|
||||||
"entrypoint": "ash"
|
"entrypoint": "ash"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue