summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile6
-rw-r--r--Makefile5
-rwxr-xr-xdocker/etc/s6/openssh/run2
-rw-r--r--docker/etc/ssh/sshd_config1
4 files changed, 8 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 775d202e33..2d47a18ba6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,7 +26,8 @@ RUN apk update && \
-s /bin/bash \
-u 1000 \
-G git \
- git
+ git && \
+ echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd
ENV USER git
ENV GITEA_CUSTOM /data/gitea
@@ -38,7 +39,4 @@ ENTRYPOINT ["/usr/bin/entrypoint"]
CMD ["/bin/s6-svscan", "/etc/s6"]
COPY docker /
-
-COPY public /app/gitea/public
-COPY templates /app/gitea/templates
COPY gitea /app/gitea/gitea
diff --git a/Makefile b/Makefile
index ae049d0086..bc6c05c323 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,11 @@ build: $(EXECUTABLE)
$(EXECUTABLE): $(SOURCES)
go build -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
+.PHONY: docker
+docker:
+ docker run -ti --rm -v $(CURDIR):/srv/app/src/code.gitea.io/gitea -w /srv/app/src/code.gitea.io/gitea -e TAGS="$(TAGS)" webhippie/golang:edge make clean generate build
+ docker build -t gitea/gitea:latest .
+
.PHONY: release
release: release-dirs release-build release-copy release-check
diff --git a/docker/etc/s6/openssh/run b/docker/etc/s6/openssh/run
index 46f422cce6..502e7f6dde 100755
--- a/docker/etc/s6/openssh/run
+++ b/docker/etc/s6/openssh/run
@@ -2,5 +2,5 @@
[[ -f ./setup ]] && source ./setup
pushd /root > /dev/null
- exec su-exec root /usr/sbin/sshd -E /var/log/sshd.log -D
+ exec su-exec root /usr/sbin/sshd -D
popd
diff --git a/docker/etc/ssh/sshd_config b/docker/etc/ssh/sshd_config
index 991b5196a0..0248a2e8dc 100644
--- a/docker/etc/ssh/sshd_config
+++ b/docker/etc/ssh/sshd_config
@@ -18,7 +18,6 @@ UseDNS no
AllowAgentForwarding no
AllowTcpForwarding no
PrintMotd no
-PrintLastLog no
PermitUserEnvironment yes
PermitRootLogin no
mated/noid/stable29-update-code-signing-crl'>automated/noid/stable29-update-code-signing-crl Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/l10n/hy.js
blob: 073980b60d0c837036a186771c0c5d9753c13574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63