finalize.sh 339 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. # Finalize the build
  3. set -x
  4. set -e
  5. # Move to final place
  6. mv /app/gogs/build/gogs /app/gogs/
  7. # Final cleaning
  8. rm -rf /app/gogs/build
  9. rm /app/gogs/docker/build.sh
  10. rm /app/gogs/docker/build-go.sh
  11. rm /app/gogs/docker/finalize.sh
  12. rm /app/gogs/docker/nsswitch.conf
  13. rm /app/gogs/docker/README.md
  14. rm -rf /tmp/go
  15. rm -rf /usr/local/go