1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00

Merge pull request #1962 from 0rax/develop

Update S6 Path after Alpine Package update
This commit is contained in:
Unknwon 2015-11-16 12:11:06 -05:00
commit 54fd4cc5fb
3 changed files with 4 additions and 2 deletions

View file

@ -19,4 +19,4 @@ RUN ./docker/build.sh
VOLUME ["/data"] VOLUME ["/data"]
EXPOSE 22 3000 EXPOSE 22 3000
ENTRYPOINT ["docker/start.sh"] ENTRYPOINT ["docker/start.sh"]
CMD ["/usr/bin/s6-svscan", "/app/gogs/docker/s6/"] CMD ["/bin/s6-svscan", "/app/gogs/docker/s6/"]

View file

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
set -x
set -e
# Set temp environment vars # Set temp environment vars
export GOPATH=/tmp/go export GOPATH=/tmp/go

View file

@ -52,5 +52,5 @@ fi
if [ $# -gt 0 ];then if [ $# -gt 0 ];then
exec "$@" exec "$@"
else else
exec /usr/bin/s6-svscan /app/gogs/docker/s6/ exec /bin/s6-svscan /app/gogs/docker/s6/
fi fi