]> source.dussan.org Git - gitea.git/commitdiff
Dockerfile: Support socat use cases (#13208)
authorBegley Brothers (Development) <60454087+bbros-dev@users.noreply.github.com>
Thu, 22 Oct 2020 01:41:49 +0000 (12:41 +1100)
committerGitHub <noreply@github.com>
Thu, 22 Oct 2020 01:41:49 +0000 (21:41 -0400)
* Dockerfile: Support socat use cases

In some contexts it is necessary to provide access to Gitea via TCP ports and unix sockets.
Gitea (`gitea web`) can be configured to listen for connections via unix-socket or TCP port, but not both.
When Gitea is installed to the host this limitation can be worked around by installing socat on the host.
When running Gitea from a container this limitation cannot be workaround.

Add socat to Gitea container.

* Removed version

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Dockerfile

index 8800738bdee141191b21fb6797c12851316399f4..efa7dfbabc7620981100393403f891c77fb7f539 100644 (file)
@@ -37,6 +37,7 @@ RUN apk --no-cache add \
     openssh \
     s6 \
     sqlite \
+    socat \
     su-exec \
     gnupg