Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Follow the new binding AGENTS.md rules
AGENTS.md became a work instruction rather than a style guide while this
sat waiting, and two of its new rules apply here.

"Write the Application's Name, Not a Placeholder": the strings this script
author wrote now say Rocket.Chat. The two that stay as ${APP} --
"No ${APP} Installation Found!" and the footer -- are verbatim from the CT
template in AGENTS.md itself, so changing them would diverge from it.

"Deciding var_arm64" forbids leaving the line commented when the answer is
knowable. It is: the shipped bundle carries aarch64 natives next to the
x86-64 ones (node-v127-linux-arm64-glibc/gcstats.node), anything without a
prebuild is compiled by node-gyp, which is why build-essential is a
dependency, and both other layers publish arm64 -- MongoDB 8.0 has 428
arm64 packages in the Ubuntu noble suite core maps Debian arm64 onto, and
NodeSource 22 serves arm64. So yes, with the caveat stated in the PR that
this is reasoned from the artifact and its dependencies, not from a run on
arm64 hardware.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
  • Loading branch information
william-aqn and claude committed Sep 26, 2026
commit 2a67cde0f9910592c1b8f69975173bead5430937
8 changes: 4 additions & 4 deletions ct/rocketchat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var_ram="${var_ram:-4096}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-1}"

# lxc-attach carries the caller's environment, but only what was exported, so
Expand Down Expand Up @@ -53,17 +53,17 @@ function update_script() {
CLEAN_INSTALL=1 fetch_and_deploy_from_url "https://releases.rocket.chat/${RELEASE}/download" "/opt/rocketchat"
echo "${RELEASE}" >~/.rocketchat

msg_info "Building ${APP} ${RELEASE} (Patience)"
msg_info "Building Rocket.Chat ${RELEASE} (Patience)"
cd /opt/rocketchat/programs/server || exit
$STD npm install
msg_ok "Built ${APP} ${RELEASE}"
msg_ok "Built Rocket.Chat ${RELEASE}"

msg_info "Starting Service"
systemctl start rocketchat
msg_ok "Started Service"
msg_ok "Updated Successfully!"
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"
msg_ok "No update required. Rocket.Chat is already at ${RELEASE}"
fi
exit
}
Expand Down
3 changes: 2 additions & 1 deletion json/rocketchat.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"updateable": true,
"privileged": false,
"architectures": [
"amd64"
"amd64",
"arm64"
],
"interface_port": 3000,
"documentation": "https://docs.rocket.chat/docs/deploy-rocketchat",
Expand Down
Loading