[PR #453] [CLOSED] fix Dockerfile #4196

Closed
opened 2026-05-05 14:37:28 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/453
Author: @DiamondYuan
Created: 9/5/2017
Status: Closed

Base: devHead: Diamondyuan


📝 Commits (1)

  • 896c2a1 fix Dockerfile use multi-stage builds remove duplicate docker file Dockerfile_alpine

📊 Changes

2 files changed (+13 additions, -21 deletions)

View changed files

📝 Dockerfile (+13 -9)
Dockerfile_alpine (+0 -12)

📄 Description

  • 利用多步构建来构建frp的镜像(Use multi-stage builds to build frp)

  • 和原有alpine的镜像重复,所以删掉。(Delete Dockerfile_alpine)

至于把ENTRYPOINT改成CMD是因为:
CMD指定的命令可以被docker run传递的命令覆盖, ENTRYPOINT不会。

改成CMD后 用户就可以选择启动frps还是frpc。

之前有多个commit 现在合并成一个重新提交。抱歉,对git流程不太熟。


🔄 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/fatedier/frp/pull/453 **Author:** [@DiamondYuan](https://github.com/DiamondYuan) **Created:** 9/5/2017 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `Diamondyuan` --- ### 📝 Commits (1) - [`896c2a1`](https://github.com/fatedier/frp/commit/896c2a1d6e778a44fce86cd5bfab07146a9528a5) fix Dockerfile use multi-stage builds remove duplicate docker file Dockerfile_alpine ### 📊 Changes **2 files changed** (+13 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+13 -9) ➖ `Dockerfile_alpine` (+0 -12) </details> ### 📄 Description - 利用多步构建来构建frp的镜像(Use multi-stage builds to build frp) - 和原有alpine的镜像重复,所以删掉。(Delete Dockerfile_alpine) 至于把ENTRYPOINT改成CMD是因为: CMD指定的命令可以被docker run传递的命令覆盖, ENTRYPOINT不会。 改成CMD后 用户就可以选择启动frps还是frpc。 之前有多个commit 现在合并成一个重新提交。抱歉,对git流程不太熟。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:37:29 -06: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: github-starred/frp#4196
No description provided.