[PR #498] [CLOSED] docker: entrypoint script and CRLF-safe build #35

Closed
opened 2026-07-19 11:34:05 +03:00 by mirror-bot · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Flowseal/tg-ws-proxy/pull/498
Author: @deexsed
Created: 3/30/2026
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (1)

📊 Changes

3 files changed (+11 additions, -1 deletions)

View changed files

➕ .gitattributes (+1 -0)
📝 Dockerfile (+3 -1)
➕ docker/entrypoint.sh (+7 -0)

📄 Description

Вынес инлайн-команду из ENTRYPOINT в отдельный скрипт docker/entrypoint.sh. Так надёжнее: не нужно мучиться с экранированием кавычек и копипастой (https://github.com/Flowseal/tg-ws-proxy/issues/490#issuecomment-4154668985). Добавил запуск sed прямо в образе, чтобы срезать символы CR


🔄 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/Flowseal/tg-ws-proxy/pull/498 **Author:** [@deexsed](https://github.com/deexsed) **Created:** 3/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`7ad2f77`](https://github.com/Flowseal/tg-ws-proxy/commit/7ad2f77165e9dddf2fa1bcfc5f7c063c9d95a4af) docker: entrypoint script and CRLF-safe build https://github.com/Flowseal/tg-ws-proxy/issues/490#issuecomment-4154668985 ### 📊 Changes **3 files changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `.gitattributes` (+1 -0) 📝 `Dockerfile` (+3 -1) ➕ `docker/entrypoint.sh` (+7 -0) </details> ### 📄 Description Вынес инлайн-команду из `ENTRYPOINT` в отдельный скрипт `docker/entrypoint.sh`. Так надёжнее: не нужно мучиться с экранированием кавычек и копипастой (https://github.com/Flowseal/tg-ws-proxy/issues/490#issuecomment-4154668985). Добавил запуск sed прямо в образе, чтобы срезать символы `CR` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror-bot added the pull-request label 2026-07-19 11:34:05 +03:00
mirror-bot changed title from [PR #498] [CLOSED] docker: entrypoint script and CRLF-safe build to [PR #498] docker: entrypoint script and CRLF-safe build 2026-07-20 04:09:30 +03:00
mirror-bot changed title from [PR #498] docker: entrypoint script and CRLF-safe build to [PR #498] [CLOSED] docker: entrypoint script and CRLF-safe build 2026-07-20 23:14:23 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Utilities/tg-ws-proxy#35