-
Notifications
You must be signed in to change notification settings - Fork 1
/
baseimage-python.xml
74 lines (74 loc) · 3.62 KB
/
baseimage-python.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0"?>
<Container version="2">
<Name>baseimage-python</Name>
<Repository>lsiobase/python</Repository>
<Registry/>
<Network>docker</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support/>
<Project/>
<Overview>LinuxServer.io Python base image built with S6 overlay.[br][br]

[b][span style='color: #E80000;']After first pull exec into container and run:[/span][/b][br]
rm -rf /config/etc/cont-init.d/30-config &amp;&amp; \[br]
rm -rf /config/etc/services.d/app/run &amp;&amp; \[br]
echo -e '#!/usr/bin/with-contenv bash' &amp;gt; /config/etc/services.d/app/run &amp;&amp; \[br]
echo -e '#!/usr/bin/with-contenv bash' &amp;gt; /config/etc/cont-init.d/30-config[br]
</Overview>
<Category>Productivity: Tools: Status:Beta</Category>
<WebUI>http://[IP]:[PORT:]</WebUI>
<TemplateURL/>
<Icon>https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver-ls-logo.png</Icon>
<ExtraParams/>
<PostArgs/>
<CPUset/>
<DonateText/>
<DonateLink/>
<Description>LinuxServer.io Python base image built with S6 overlay.[br][br]

[b][span style='color: #E80000;']After first pull exec into container and run:[/span][/b][br]
rm -rf /config/etc/cont-init.d/30-config &amp;&amp; \[br]
rm -rf /config/etc/services.d/app/run &amp;&amp; \[br]
echo -e '#!/usr/bin/with-contenv bash' &amp;gt; /config/etc/services.d/app/run &amp;&amp; \[br]
echo -e '#!/usr/bin/with-contenv bash' &amp;gt; /config/etc/cont-init.d/30-config[br]
</Description>
<Networking>
<Mode>docker</Mode>
<Publish/>
</Networking>
<Data>
<Volume>
<HostDir>/mnt/disks/virtualisation/appdata/baseimage-python</HostDir>
<ContainerDir>/config</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/disks/virtualisation/appdata/baseimage-python/etc/cont-init.d/30-config</HostDir>
<ContainerDir>/etc/cont-init.d/30-config</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/disks/virtualisation/appdata/baseimage-python/etc/services.d/app/run</HostDir>
<ContainerDir>/etc/services.d/app/run</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value>99</Value>
<Name>PUID</Name>
<Mode/>
</Variable>
<Variable>
<Value>100</Value>
<Name>PGID</Name>
<Mode/>
</Variable>
</Environment>
<Labels/>
<Config Name="PUID" Target="PUID" Default="" Mode="" Description="PUID" Type="Variable" Display="always" Required="false" Mask="false">99</Config>
<Config Name="PGID" Target="PGID" Default="" Mode="" Description="PGID" Type="Variable" Display="always" Required="false" Mask="false">100</Config>
<Config Name="appdata" Target="/config" Default="/mnt/disks/virtualisation/appdata/baseimage-python" Mode="rw" Description="Container Path: /config" Type="Path" Display="always" Required="false" Mask="false">/mnt/disks/virtualisation/appdata/baseimage-python</Config>
<Config Name="Config" Target="/etc/cont-init.d/30-config" Default="" Mode="rw" Description="Container Path: /etc/cont-init.d/30-config" Type="Path" Display="always" Required="false" Mask="false">/mnt/disks/virtualisation/appdata/baseimage-python/etc/cont-init.d/30-config</Config>
<Config Name="Init" Target="/etc/services.d/app/run" Default="" Mode="rw" Description="Container Path: /etc/services.d/app/run" Type="Path" Display="always" Required="false" Mask="false">/mnt/disks/virtualisation/appdata/baseimage-python/etc/services.d/app/run</Config>
</Container>