[PR #2608] [CLOSED] docker: refactor #5184

Closed
opened 2026-10-31 20:45:16 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2608
Author: @s0me1newithhand7s
Created: 11/29/2024
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (4)

  • 81ad39a modified: DockerEntrypoint.sh
  • 9dd6fc7 Merge branch 'MHSanaei:main' into main
  • 0512949 Merge branch 'main' into main
  • ef89bc6 modified: Dockerfile

📊 Changes

5 files changed (+13 additions, -7 deletions)

View changed files

📝 DockerEntrypoint.sh (+1 -1)
📝 DockerInit.sh (+1 -1)
📝 Dockerfile (+9 -3)
📝 install.sh (+1 -1)
📝 x-ui.sh (+1 -1)

📄 Description

  • Yes i've tested locally

Why

  1. Edited shebangs to be right, as calling binaries trough env is right way.
  2. Switched to golang:bookworm in builder and ubuntu:latest in 3x-ui itself. It isn't so important for builder, but for x-ui.sh itself - it is.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2608 **Author:** [@s0me1newithhand7s](https://github.com/s0me1newithhand7s) **Created:** 11/29/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`81ad39a`](https://github.com/MHSanaei/3x-ui/commit/81ad39abc1a6d9f8a3295b2042a603f350a59bcb) modified: DockerEntrypoint.sh - [`9dd6fc7`](https://github.com/MHSanaei/3x-ui/commit/9dd6fc786432cca87c702180617182fee739f656) Merge branch 'MHSanaei:main' into main - [`0512949`](https://github.com/MHSanaei/3x-ui/commit/0512949f23dc43aa3f42347f1b25028185bbd0be) Merge branch 'main' into main - [`ef89bc6`](https://github.com/MHSanaei/3x-ui/commit/ef89bc607cc5077e05ae249fbbf81715910f7150) modified: Dockerfile ### 📊 Changes **5 files changed** (+13 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `DockerEntrypoint.sh` (+1 -1) 📝 `DockerInit.sh` (+1 -1) 📝 `Dockerfile` (+9 -3) 📝 `install.sh` (+1 -1) 📝 `x-ui.sh` (+1 -1) </details> ### 📄 Description - [x] Yes i've tested locally ## Why 1. Edited shebangs to be *right*, as [calling binaries trough `env` is right way](https://stackoverflow.com/questions/16365130/what-is-the-difference-between-usr-bin-env-bash-and-usr-bin-bash). 2. Switched to `golang:bookworm` in builder and `ubuntu:latest` in 3x-ui itself. It isn't so important for builder, but for `x-ui.sh` itself - it is. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:45:16 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5184
No description provided.