[PR #450] [CLOSED] fix Dockerfile #4198

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

📋 Pull Request Information

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

Base: devHead: yfd


📝 Commits (4)

  • 066172e Merge pull request #403 from fatedier/dev
  • 4c7958e fix Use multi-stage builds
  • ac4537e fix typo of Docker and remove useless duplicate docker file
  • 433cebe Merge branch 'dev' into yfd

📊 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。


🔄 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/450 **Author:** [@DiamondYuan](https://github.com/DiamondYuan) **Created:** 9/4/2017 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `yfd` --- ### 📝 Commits (4) - [`066172e`](https://github.com/fatedier/frp/commit/066172e9c13945241ff114320689b0c9b6d20fbd) Merge pull request #403 from fatedier/dev - [`4c7958e`](https://github.com/fatedier/frp/commit/4c7958e2d249aaf4337c50afbef48881064b2916) fix Use multi-stage builds - [`ac4537e`](https://github.com/fatedier/frp/commit/ac4537e247925c5aa0b0d36fc580ffe65e2d5416) fix typo of Docker and remove useless duplicate docker file - [`433cebe`](https://github.com/fatedier/frp/commit/433cebed63a008998b5a21f8c7f362ca6da3a495) Merge branch 'dev' into yfd ### 📊 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。 --- <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:31 -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#4198
No description provided.