summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile.gitolite
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2022-08-13 13:08:43 -0400
committerMalfurious <m@lfurio.us>2022-08-13 13:08:43 -0400
commitfa1482275535b0c9360ec80829132cbcd03c83d5 (patch)
tree29d0376a88c63caedceb0a07202b6539bf8c5b53 /docker/Dockerfile.gitolite
parent904b4fab582d0def718c0e461e4bb33f4921e6b8 (diff)
downloadsrcnode-fa1482275535b0c9360ec80829132cbcd03c83d5.tar.gz
srcnode-fa1482275535b0c9360ec80829132cbcd03c83d5.zip
Add port expose directives to Dockerfiles
This is useful as documentation to the user, but can be necessary to work with some docker-compose setups. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'docker/Dockerfile.gitolite')
-rw-r--r--docker/Dockerfile.gitolite1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/Dockerfile.gitolite b/docker/Dockerfile.gitolite
index a1ba275..f953c57 100644
--- a/docker/Dockerfile.gitolite
+++ b/docker/Dockerfile.gitolite
@@ -25,4 +25,5 @@ VOLUME /var/lib/gitolite
RUN ssh-keygen -A
VOLUME /etc/ssh
+EXPOSE 22
CMD ["/usr/bin/sshd", "-D"]