Dockerfile: Support socat use cases (#13208)

* 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>
This commit is contained in:
Begley Brothers (Development) 2020-10-22 12:41:49 +11:00 committed by GitHub
parent e918636283
commit ff50274ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ RUN apk --no-cache add \
openssh \ openssh \
s6 \ s6 \
sqlite \ sqlite \
socat \
su-exec \ su-exec \
gnupg gnupg