Merge pull request #1563 from gOOvER/patch-4

update/haste-server - switch to ghcr
This commit is contained in:
Michael (Parker) Parker 2022-02-19 07:58:37 -05:00 committed by GitHub
commit aaa1bc846a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@
"description": "Haste is an open-source pastebin software written in node.js, which is easily installable in any network. It can be backed by either redis or filesystem, and has a very easy adapter interface for other stores. A publicly available version can be found at hastebin.com", "description": "Haste is an open-source pastebin software written in node.js, which is easily installable in any network. It can be backed by either redis or filesystem, and has a very easy adapter interface for other stores. A publicly available version can be found at hastebin.com",
"features": null, "features": null,
"images": [ "images": [
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12" "ghcr.io/parkervcp/yolks:nodejs_12"
], ],
"startup": "npm start", "startup": "npm start",
"config": { "config": {
@ -22,7 +22,7 @@
"scripts": { "scripts": {
"installation": { "installation": {
"script": "#!\/bin\/bash\r\n\r\napt update\r\napt install -y git curl\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\ngit clone https:\/\/github.com\/toptal\/haste-server\r\ncd haste-server\r\nmv * \/mnt\/server\r\ncd ..\r\nrm -rf haste-server\r\nnpm install\r\n\r\nexit 0", "script": "#!\/bin\/bash\r\n\r\napt update\r\napt install -y git curl\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\ngit clone https:\/\/github.com\/toptal\/haste-server\r\ncd haste-server\r\nmv * \/mnt\/server\r\ncd ..\r\nrm -rf haste-server\r\nnpm install\r\n\r\nexit 0",
"container": "node:12-buster-slim", "container": "node:12-bullseye-slim",
"entrypoint": "bash" "entrypoint": "bash"
} }
}, },