/[smecontribs]/rpms/smeserver-docker/contribs10/smeserver-docker.spec
ViewVC logotype

Diff of /rpms/smeserver-docker/contribs10/smeserver-docker.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by jcrisp, Wed Jul 13 10:40:49 2022 UTC Revision 1.4 by jcrisp, Wed Jul 13 14:13:23 2022 UTC
# Line 1  Line 1 
1  %define name smeserver-docker  %define name smeserver-docker
2  %define version 0.4  %define version 0.4
3  %define release 3%{?dist}  %define release 4%{?dist}
4  Summary: Contrib to manage basic docker setup  Summary: Contrib to manage basic docker setup
5  Name: %{name}  Name: %{name}
6  Version: %{version}  Version: %{version}
# Line 11  Group: SMEserver/addon Line 11  Group: SMEserver/addon
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
12  Patch1: smeserver-docker-0.4-containerd-db-entry.patch  Patch1: smeserver-docker-0.4-containerd-db-entry.patch
13  Patch2: smeserver-docker-0.4-update-createlinks1.patch  Patch2: smeserver-docker-0.4-update-createlinks1.patch
14    Patch3: smeserver-docker-0.4-docker-compose-template.patch
15    
16  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
17  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 23  AutoReqProv: no Line 24  AutoReqProv: no
24  Docker is an open-source project that automates the deployment of applications inside software containers  Docker is an open-source project that automates the deployment of applications inside software containers
25    
26  %changelog  %changelog
27    * Wed Jul 13 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-4.sme
28    - Add docker-compose.yml template
29    - smeserver-docker-compose-update event to expand the compose file
30    
31  * Tue Jul 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-3.sme  * Tue Jul 12 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 0.4-3.sme
32  - Fix some createlink errors [SME: 11892]  - Fix some createlink errors [SME: 11892]
33  - Update daemon.json and 50koozali.conf templates  - Update daemon.json and 50koozali.conf templates
# Line 64  Docker is an open-source project that au Line 69  Docker is an open-source project that au
69    
70  %patch1 -p1  %patch1 -p1
71  %patch2 -p1  %patch2 -p1
72    %patch3 -p1
73    
74  %build  %build
75  perl createlinks  perl createlinks
# Line 101  if [[ ! -d /etc/docker ]]; then Line 107  if [[ ! -d /etc/docker ]]; then
107      mkdir -p /etc/docker;      mkdir -p /etc/docker;
108  fi  fi
109    
110    # Remove the errant dir in the source
111    if [[ -d /home/e-smith/files/docker/configs/docker-compose.yml ]]; then
112        rm -rf /home/e-smith/files/docker/configs/docker-compose.yml;
113    fi
114    
115    
116    echo ""
117    echo "###################################################"
118    echo "*"
119  echo "see https://wiki.contribs.org/Docker"  echo "see https://wiki.contribs.org/Docker"
120    echo "*"
121    echo "###################################################"
122    echo ""
123    echo "###################################################"
124    echo "*"
125  echo "Please run signal-post-upgrade;signal-event reboot"  echo "Please run signal-post-upgrade;signal-event reboot"
126    echo "*"
127    echo "###################################################"
128    echo ""
129    echo "###################################################"
130    echo "*"
131    echo "Docker compose:"
132    echo "curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose"
133    echo "chmod 0700 /usr/local/bin/docker-compose"
134    echo "chgrp docker /usr/local/bin/docker-compose"
135    echo "*"
136    echo "###################################################"
137    
138  %postun  %postun
139  #/sbin/e-smith/expand-template /etc/rc.d/init.d/masq  #/sbin/e-smith/expand-template /etc/rc.d/init.d/masq


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed