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>
tokarchuk/v1.17
Begley Brothers (Development) 4 years ago committed by GitHub
parent e918636283
commit ff50274ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Dockerfile

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

Loading…
Cancel
Save