[GH-ISSUE #2471] build docker image without go command or provide official docker image #1962

Closed
opened 2026-05-05 13:15:44 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @nnnewb on GitHub (Jul 7, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2471

The solution you want

docker build . -f dockerfiles/Docker-for-frps compile frps and build docker image.

Alternatives considered

... or provide official frps/frpc docker image? So I don't need build it by myself.

How to implement this function

run make frps/make frpc inside Dockerfile.

Application scenarios of this function

easy to use.

Originally created by @nnnewb on GitHub (Jul 7, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2471 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> **The solution you want** <!--A clear and concise description of the solution you want. --> `docker build . -f dockerfiles/Docker-for-frps` compile frps and build docker image. **Alternatives considered** <!--A clear and concise description of any alternative solutions or features you have considered. --> ... or provide official frps/frpc docker image? So I don't need build it by myself. **How to implement this function** <!--Implementation steps for the solution you want. --> run `make frps`/`make frpc` inside Dockerfile. **Application scenarios of this function** <!--Make a clear and concise description of the application scenario of the solution you want. --> easy to use.
gitea-mirror 2026-05-05 13:15:44 -06:00
Author
Owner
<!-- gh-comment-id:875799105 --> @fakeboboliu commented on GitHub (Jul 7, 2021): https://hub.docker.com/r/fatedier/frpc/tags https://hub.docker.com/r/fatedier/frps/tags
Author
Owner

@nnnewb commented on GitHub (Jul 8, 2021):

https://hub.docker.com/r/fatedier/frpc/tags
https://hub.docker.com/r/fatedier/frps/tags

感谢。

我有这一问主要是因为 README 和 wiki 都没有说明官方镜像是哪个,docker hub 的 fatedier 这个账号所有者也不能确定是这个仓库的所有者。

如果这两个链接确实是官方镜像的话,期望最好是能把链接加入 README ,让其他人也能少走点弯路。

<!-- gh-comment-id:876032527 --> @nnnewb commented on GitHub (Jul 8, 2021): > https://hub.docker.com/r/fatedier/frpc/tags > https://hub.docker.com/r/fatedier/frps/tags 感谢。 我有这一问主要是因为 README 和 wiki 都没有说明官方镜像是哪个,docker hub 的 fatedier 这个账号所有者也不能确定是这个仓库的所有者。 如果这两个链接确实是官方镜像的话,期望最好是能把链接加入 README ,让其他人也能少走点弯路。
Author
Owner

@fakeboboliu commented on GitHub (Jul 8, 2021):

https://github.com/fatedier/frp/blob/dev/.github/workflows/build-and-push-image.yml

          echo "TAG_FRPC=fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV
          echo "TAG_FRPS=fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV
          echo "TAG_FRPC_GPR=ghcr.io/fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV
          echo "TAG_FRPS_GPR=ghcr.io/fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV
<!-- gh-comment-id:876138319 --> @fakeboboliu commented on GitHub (Jul 8, 2021): https://github.com/fatedier/frp/blob/dev/.github/workflows/build-and-push-image.yml ``` echo "TAG_FRPC=fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV echo "TAG_FRPS=fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV echo "TAG_FRPC_GPR=ghcr.io/fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV echo "TAG_FRPS_GPR=ghcr.io/fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV ```
Author
Owner

@nnnewb commented on GitHub (Jul 8, 2021):

https://github.com/fatedier/frp/blob/dev/.github/workflows/build-and-push-image.yml

          echo "TAG_FRPC=fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV
          echo "TAG_FRPS=fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV
          echo "TAG_FRPC_GPR=ghcr.io/fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV
          echo "TAG_FRPS_GPR=ghcr.io/fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV

非常感谢你的答复。

<!-- gh-comment-id:876144269 --> @nnnewb commented on GitHub (Jul 8, 2021): > https://github.com/fatedier/frp/blob/dev/.github/workflows/build-and-push-image.yml > > ``` > echo "TAG_FRPC=fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV > echo "TAG_FRPS=fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV > echo "TAG_FRPC_GPR=ghcr.io/fatedier/frpc:${{ env.TAG_NAME }}" >> $GITHUB_ENV > echo "TAG_FRPS_GPR=ghcr.io/fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV > ``` 非常感谢你的答复。
Author
Owner

@github-actions[bot] commented on GitHub (Aug 8, 2021):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:894723273 --> @github-actions[bot] commented on GitHub (Aug 8, 2021): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#1962
No description provided.