mirror of https://github.com/rocboss/paopao-ce
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.
14 lines
361 B
14 lines
361 B
#!/bin/sh
|
|
|
|
set -xe
|
|
|
|
# Create paopao user for paopao-ce
|
|
addgroup -S paopao
|
|
adduser -G paopao -H -D -g 'paopao User' paopao -h /app -s /bin/sh && usermod -p '*' paopao && passwd -u paopao
|
|
# echo "export PAOPAO_CUSTOM=${PAOPAO_CUSTOM}" >> /etc/profile
|
|
|
|
# Final cleaning
|
|
mv /app/docker/config.yaml /app/config.yaml
|
|
rm -rf /app/docker/build
|
|
rm /app/docker/README.md
|