This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Use su-exec instead of gosu, much smaller
tags/v1.2.0-rc1
Thomas Boerger
8 years ago
parent
77435c4703
commit
d4a0cb6002
5 changed files
with
9 additions
and
9 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
Dockerfile
+3
-3
Dockerfile.rpi
+1
-1
docker/etc/s6/gitea/run
+1
-1
docker/etc/s6/openssh/run
+1
-1
docker/etc/s6/syslogd/run
+ 3
- 3
Dockerfile
View File
@@ -3,9 +3,9 @@ MAINTAINER Thomas Boerger <thomas@webhippie.de>
EXPOSE 22 3000
RUN
echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
&& \
apk
-U
add \
gosu@testing
\
RUN
apk update
&& \
apk add \
su-exec
\
shadow \
ca-certificates \
sqlite \
+ 3
- 3
Dockerfile.rpi
View File
@@ -3,9 +3,9 @@ MAINTAINER Thomas Boerger <thomas@webhippie.de>
EXPOSE 22 3000
RUN
echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
&& \
apk
-U
add \
gosu@testing
\
RUN
apk update
&& \
apk add \
su-exec
\
shadow \
ca-certificates \
sqlite \
+ 1
- 1
docker/etc/s6/gitea/run
View File
@@ -2,5 +2,5 @@
[[ -f ./setup ]] && source ./setup
pushd /app/gitea > /dev/null
exec
go
su git /app/gitea/gitea web
exec su
-exec
git /app/gitea/gitea web
popd
+ 1
- 1
docker/etc/s6/openssh/run
View File
@@ -2,5 +2,5 @@
[[ -f ./setup ]] && source ./setup
pushd /root > /dev/null
exec
go
su root /usr/sbin/sshd -E /var/log/sshd.log -D
exec su
-exec
root /usr/sbin/sshd -E /var/log/sshd.log -D
popd
+ 1
- 1
docker/etc/s6/syslogd/run
View File
@@ -2,5 +2,5 @@
[[ -f ./setup ]] && source ./setup
pushd /root > /dev/null
exec
go
su root /sbin/syslogd -nS -O-
exec su
-exec
root /sbin/syslogd -nS -O-
popd
Write
Preview
Loading…
Cancel
Save