@@ -19,34 +19,34 @@ There is a PPA for Ubuntu Trusty at:
19
19
Building
20
20
--------
21
21
22
- NOTE: This asumes the 1.6.2 version. If you are building a different version,
22
+ NOTE: This asumes the 1.6.4 version. If you are building a different version,
23
23
Change the version number in the commands below and ** ALSO** change
24
- "debian/changelog" where it says "1.6.2 " to the version you are building.
24
+ "debian/changelog" where it says "1.6.4 " to the version you are building.
25
25
26
26
Steps to build deb files:
27
27
28
28
- Download the libRETS tar file from the above URL
29
29
30
30
``` bash
31
- wget https://github.com/NationalAssociationOfRealtors/libRETS/archive/1.6.2 .tar.gz
31
+ wget https://github.com/NationalAssociationOfRealtors/libRETS/archive/1.6.4 .tar.gz
32
32
```
33
33
34
34
- Rename into Debian-compatible format
35
35
36
36
``` bash
37
- mv 1.6.2 .tar.gz librets_1.6.2 .orig.tar.gz
37
+ mv 1.6.4 .tar.gz librets_1.6.4 .orig.tar.gz
38
38
```
39
39
40
40
- Extract tar file
41
41
42
42
``` bash
43
- tar xf librets_1.6.2 .orig.tar.gz
43
+ tar xf librets_1.6.4 .orig.tar.gz
44
44
```
45
45
46
46
- Clone this repository to "debian" sub-directory
47
47
48
48
``` bash
49
- cd libRETS-1.6.2
49
+ cd libRETS-1.6.4
50
50
git clone https://github.com/realgo/librets-package debian
51
51
```
52
52
@@ -56,12 +56,28 @@ git clone https://github.com/realgo/librets-package debian
56
56
Sample run:
57
57
58
58
``` bash
59
- wget https://github.com/NationalAssociationOfRealtors/libRETS/archive/1.6.2 .tar.gz
60
- mv 1.6.2 .tar.gz librets_1.6.2 .orig.tar.gz
61
- tar xf librets_1.6.2 .orig.tar.gz
62
- cd libRETS-1.6.2
59
+ wget https://github.com/NationalAssociationOfRealtors/libRETS/archive/1.6.4 .tar.gz
60
+ mv 1.6.4 .tar.gz librets_1.6.4 .orig.tar.gz
61
+ tar xf librets_1.6.4 .orig.tar.gz
62
+ cd libRETS-1.6.4
63
63
git clone https://github.com/realgo/librets-package debian
64
64
debuild
65
65
cd ..
66
66
sudo dpkg -i * .deb
67
67
```
68
+
69
+ Docker
70
+ ------
71
+
72
+ You can build the Debian package within an Ubuntu container and a Ubuntu
73
+ container with the deb packages installed:
74
+
75
+ ``` docker build -t ubuntu-librets:1.6.4 . ```
76
+
77
+ You can now use "ubuntu-librets" as a docker image with librets packages
78
+ installed. You can also run the container to copy off the deb files from the
79
+ container:
80
+
81
+ ``` docker run --name librets-packages ubuntu-librets:1.6.4
82
+ docker cp librets-packages:build/* .
83
+ docker kill librets-packages```
0 commit comments