dashboard
repositories
filestore
activity
search
login
docker
/
unifi
UniFi controller on Debian
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
Optimize image size by combining RUN commands
Jacek Kowalski
2017-07-11
6269af06cd7c9d4546edc4bfa8c8c52eba15e389
[docker/unifi]
/
run.sh
1
2
3
4
5
6
7
8
9
#!/bin/bash
if [ -z "$JAVA_OPTS" ]; then
JAVA_OPTS="-Xmx1024m"
fi
chown -Rf unifi:unifi /usr/lib/unifi/data
exec sudo -u unifi java $JAVA_OPTS -jar /usr/lib/unifi/lib/ace.jar start