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

View file

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