mirror of
https://github.com/linuxserver/docker-htpcmanager.git
synced 2026-04-06 00:01:54 +08:00
Merge pull request #10 from linuxserver/internal_git-pull
Internal git pull
This commit is contained in:
commit
4617f73ea6
3
Dockerfile
Executable file → Normal file
3
Dockerfile
Executable file → Normal file
@ -11,6 +11,9 @@ RUN \
|
||||
pip install --no-cache-dir -U \
|
||||
cherrypy && \
|
||||
|
||||
# install app
|
||||
git clone --depth 1 https://github.com/Hellowlol/HTPC-Manager.git /app/htpcmanager && \
|
||||
|
||||
# cleanup
|
||||
rm -rf \
|
||||
/root/.cache \
|
||||
|
||||
@ -79,6 +79,7 @@ Smartmontools has not been included, you can safely ignore the warning error in
|
||||
|
||||
## Versions
|
||||
|
||||
+ **20.07.17:** Internal git pull instead of at runtime.
|
||||
+ **25.05.17:** Rebase to alpine 3.6.
|
||||
+ **07.02.17:** Rebase to alpine 3.5.
|
||||
+ **14.10.16:** Add version layer information.
|
||||
|
||||
5
root/etc/cont-init.d/30-config
Normal file
5
root/etc/cont-init.d/30-config
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/app
|
||||
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# install app
|
||||
[[ ! -d /app/htpcmanager/.git ]] && \
|
||||
git clone https://github.com/Hellowlol/HTPC-Manager.git /app/htpcmanager
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/app
|
||||
0
root/etc/services.d/htpcmanager/run
Executable file → Normal file
0
root/etc/services.d/htpcmanager/run
Executable file → Normal file
0
root/etc/services.d/vnstat/run
Executable file → Normal file
0
root/etc/services.d/vnstat/run
Executable file → Normal file
Loading…
x
Reference in New Issue
Block a user