mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
fix the .bashrc
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
d19e2aa52d
commit
2c59fb0db9
1 changed files with 1 additions and 1 deletions
|
|
@ -246,6 +246,7 @@ RUN set -ex; \
|
||||||
git clone https://github.com/nextcloud-releases/all-in-one.git --depth 1 .; \
|
git clone https://github.com/nextcloud-releases/all-in-one.git --depth 1 .; \
|
||||||
mkdir -p /usr/src/nextcloud/apps/nextcloud-aio; \
|
mkdir -p /usr/src/nextcloud/apps/nextcloud-aio; \
|
||||||
cp -r ./app/* /usr/src/nextcloud/apps/nextcloud-aio/; \
|
cp -r ./app/* /usr/src/nextcloud/apps/nextcloud-aio/; \
|
||||||
|
echo "[ -n \"\$TERM\" ] && cat /root.motd" >> /root/.bashrc; \
|
||||||
# AIO cloning end # Do not remove or change this line!
|
# AIO cloning end # Do not remove or change this line!
|
||||||
\
|
\
|
||||||
chown www-data:root -R /usr/src && \
|
chown www-data:root -R /usr/src && \
|
||||||
|
|
@ -257,7 +258,6 @@ RUN set -ex; \
|
||||||
mkdir -p /nc-updater; \
|
mkdir -p /nc-updater; \
|
||||||
chown -R www-data:www-data /nc-updater; \
|
chown -R www-data:www-data /nc-updater; \
|
||||||
chmod -R 770 /nc-updater; \
|
chmod -R 770 /nc-updater; \
|
||||||
echo "[ -n \"$TERM\" ] && cat /root.motd" >> /root/.bashrc; \
|
|
||||||
\
|
\
|
||||||
# Give root a random password
|
# Give root a random password
|
||||||
echo "root:$(openssl rand -base64 12)" | chpasswd
|
echo "root:$(openssl rand -base64 12)" | chpasswd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue