mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
339 B
19 lines
339 B
#!/bin/sh |
|
# Finalize the build |
|
|
|
set -x |
|
set -e |
|
|
|
# Move to final place |
|
mv /app/gogs/build/gogs /app/gogs/ |
|
|
|
# Final cleaning |
|
rm -rf /app/gogs/build |
|
rm /app/gogs/docker/build.sh |
|
rm /app/gogs/docker/build-go.sh |
|
rm /app/gogs/docker/finalize.sh |
|
rm /app/gogs/docker/nsswitch.conf |
|
rm /app/gogs/docker/README.md |
|
|
|
rm -rf /tmp/go |
|
rm -rf /usr/local/go
|
|
|