Browse Source

Merge pull request #1962 from 0rax/develop

Update S6 Path after Alpine Package update
tags/v1.2.0-rc1
Unknwon 9 years ago
parent
commit
12d6e55694
3 changed files with 4 additions and 2 deletions
  1. +1
    -1
      Dockerfile
  2. +2
    -0
      docker/build.sh
  3. +1
    -1
      docker/start.sh

+ 1
- 1
Dockerfile View File

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

+ 2
- 0
docker/build.sh View File

@@ -1,4 +1,6 @@
#!/bin/sh
set -x
set -e

# Set temp environment vars
export GOPATH=/tmp/go


+ 1
- 1
docker/start.sh View File

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

Loading…
Cancel
Save