Advertisement
Guest User

Untitled

a guest
Mar 9th, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.99 KB | None | 0 0
  1. sudo docker build -t stigger/trakt-for-appletv .
  2. Password:
  3. Sending build context to Docker daemon 273.4kB
  4. Step 1/11 : FROM alpine:3.10 AS builder
  5. ---> af341ccd2df8
  6. Step 2/11 : COPY . /opt/TVRemote
  7. ---> 4d70bfaa0f0f
  8. Step 3/11 : RUN apk add --no-cache py3-cryptography py3-lxml py3-paho-mqtt py3-yaml python3-dev build-base; pip3 install -r /opt/TVRemote/requirements.txt
  9. ---> Running in 4395f662b29d
  10. fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
  11. fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
  12. (1/43) Installing binutils (2.32-r0)
  13. (2/43) Installing libmagic (5.37-r1)
  14. (3/43) Installing file (5.37-r1)
  15. (4/43) Installing gmp (6.1.2-r1)
  16. (5/43) Installing isl (0.18-r0)
  17. (6/43) Installing libgomp (8.3.0-r0)
  18. (7/43) Installing libatomic (8.3.0-r0)
  19. (8/43) Installing libgcc (8.3.0-r0)
  20. (9/43) Installing mpfr3 (3.1.5-r1)
  21. (10/43) Installing mpc1 (1.1.0-r0)
  22. (11/43) Installing libstdc++ (8.3.0-r0)
  23. (12/43) Installing gcc (8.3.0-r0)
  24. (13/43) Installing musl-dev (1.1.22-r3)
  25. (14/43) Installing libc-dev (0.7.1-r0)
  26. (15/43) Installing g++ (8.3.0-r0)
  27. (16/43) Installing make (4.2.1-r2)
  28. (17/43) Installing fortify-headers (1.1-r0)
  29. (18/43) Installing build-base (0.5-r1)
  30. (19/43) Installing libbz2 (1.0.6-r7)
  31. (20/43) Installing expat (2.2.8-r0)
  32. (21/43) Installing libffi (3.2.1-r6)
  33. (22/43) Installing gdbm (1.13-r1)
  34. (23/43) Installing xz-libs (5.2.4-r0)
  35. (24/43) Installing ncurses-terminfo-base (6.1_p20190518-r2)
  36. (25/43) Installing ncurses-libs (6.1_p20190518-r2)
  37. (26/43) Installing readline (8.0.0-r0)
  38. (27/43) Installing sqlite-libs (3.28.0-r2)
  39. (28/43) Installing python3 (3.7.5-r1)
  40. (29/43) Installing py3-cparser (2.19-r2)
  41. (30/43) Installing py3-cffi (1.11.5-r4)
  42. (31/43) Installing py3-idna (2.8-r1)
  43. (32/43) Installing py3-asn1crypto (0.24.0-r1)
  44. (33/43) Installing py3-six (1.12.0-r1)
  45. (34/43) Installing py3-cryptography (2.6.1-r1)
  46. (35/43) Installing libgpg-error (1.36-r2)
  47. (36/43) Installing libgcrypt (1.8.5-r0)
  48. (37/43) Installing libxml2 (2.9.9-r3)
  49. (38/43) Installing libxslt (1.1.33-r3)
  50. (39/43) Installing py3-lxml (4.3.4-r0)
  51. (40/43) Installing py3-paho-mqtt (1.4.0-r1)
  52. (41/43) Installing py3-yaml (5.1.1-r0)
  53. (42/43) Installing pkgconf (1.6.1-r1)
  54. (43/43) Installing python3-dev (3.7.5-r1)
  55. Executing busybox-1.30.1-r3.trigger
  56. OK: 279 MiB in 57 packages
  57. Collecting zeroconf (from -r /opt/TVRemote/requirements.txt (line 1))
  58. Downloading https://files.pythonhosted.org/packages/7c/51/7c32812eebd06f55f83786c32efb741a2f8533ea9966d592f51fa0bff860/zeroconf-0.24.5-py3-none-any.whl (65kB)
  59. Requirement already satisfied: PyYAML in /usr/lib/python3.7/site-packages (from -r /opt/TVRemote/requirements.txt (line 2)) (5.1.1)
  60. Collecting protobuf (from -r /opt/TVRemote/requirements.txt (line 3))
  61. Downloading https://files.pythonhosted.org/packages/27/9c/ef816295b4b40298fd0a17bf8f0ba6cf3e0c44cb2ce72257168e09996b8b/protobuf-3.11.3-py2.py3-none-any.whl (434kB)
  62. Collecting trakt.py (from -r /opt/TVRemote/requirements.txt (line 4))
  63. Downloading https://files.pythonhosted.org/packages/db/ef/0877a5f1041fb2dfa9e1f3037dc2dfef6bd8c7182e589fb1bee8b6b41c4f/trakt.py-3.1.0-py2.py3-none-any.whl (66kB)
  64. Collecting varint (from -r /opt/TVRemote/requirements.txt (line 5))
  65. Downloading https://files.pythonhosted.org/packages/a8/fe/1ea0ba0896dfa47186692655b86db3214c4b7c9e0e76c7b1dc257d101ab1/varint-1.0.2.tar.gz
  66. Collecting srptools (from -r /opt/TVRemote/requirements.txt (line 6))
  67. Downloading https://files.pythonhosted.org/packages/54/6d/b1d42918fc721545d6ba92e6a77e414bc5eda9f4c1c352d8836632499024/srptools-1.0.0-py2.py3-none-any.whl
  68. Collecting ed25519 (from -r /opt/TVRemote/requirements.txt (line 7))
  69. Downloading https://files.pythonhosted.org/packages/58/38/72ec85c953b90552fb015f31248256ef19e89a164a40ff8fef680259a608/ed25519-1.5.tar.gz (868kB)
  70. Requirement already satisfied: cryptography in /usr/lib/python3.7/site-packages (from -r /opt/TVRemote/requirements.txt (line 8)) (2.6.1)
  71. Requirement already satisfied: lxml in /usr/lib/python3.7/site-packages (from -r /opt/TVRemote/requirements.txt (line 9)) (4.3.4)
  72. Collecting ifaddr (from zeroconf->-r /opt/TVRemote/requirements.txt (line 1))
  73. Downloading https://files.pythonhosted.org/packages/9f/54/d92bda685093ebc70e2057abfa83ef1b3fb0ae2b6357262a3e19dfe96bb8/ifaddr-0.1.6.tar.gz
  74. Requirement already satisfied: six>=1.9 in /usr/lib/python3.7/site-packages (from protobuf->-r /opt/TVRemote/requirements.txt (line 3)) (1.12.0)
  75. Requirement already satisfied: setuptools in /usr/lib/python3.7/site-packages (from protobuf->-r /opt/TVRemote/requirements.txt (line 3)) (41.2.0)
  76. Collecting requests<3.0.0,>=2.4.0 (from trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
  77. Downloading https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl (58kB)
  78. Collecting arrow<1.0.0,>=0.10.0 (from trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
  79. Downloading https://files.pythonhosted.org/packages/92/fa/f84896dede5decf284e6922134bf03fd26c90870bbf8015f4e8ee2a07bcc/arrow-0.15.5-py2.py3-none-any.whl (46kB)
  80. Requirement already satisfied: asn1crypto>=0.21.0 in /usr/lib/python3.7/site-packages (from cryptography->-r /opt/TVRemote/requirements.txt (line 8)) (0.24.0)
  81. Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/lib/python3.7/site-packages (from cryptography->-r /opt/TVRemote/requirements.txt (line 8)) (1.11.5)
  82. Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests<3.0.0,>=2.4.0->trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
  83. Downloading https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl (125kB)
  84. Collecting chardet<4,>=3.0.2 (from requests<3.0.0,>=2.4.0->trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
  85. Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
  86. Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.4.0->trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
  87. Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB)
  88. Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.7/site-packages (from requests<3.0.0,>=2.4.0->trakt.py->-r /opt/TVRemote/requirements.txt (line 4)) (2.8)
  89. Collecting python-dateutil (from arrow<1.0.0,>=0.10.0->trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
  90. Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
  91. Requirement already satisfied: pycparser in /usr/lib/python3.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography->-r /opt/TVRemote/requirements.txt (line 8)) (2.19)
  92. Installing collected packages: ifaddr, zeroconf, protobuf, urllib3, chardet, certifi, requests, python-dateutil, arrow, trakt.py, varint, srptools, ed25519
  93. Running setup.py install for ifaddr: started
  94. Running setup.py install for ifaddr: finished with status 'done'
  95. Running setup.py install for varint: started
  96. Running setup.py install for varint: finished with status 'done'
  97. Running setup.py install for ed25519: started
  98. Running setup.py install for ed25519: finished with status 'done'
  99. Successfully installed arrow-0.15.5 certifi-2019.11.28 chardet-3.0.4 ed25519-1.5 ifaddr-0.1.6 protobuf-3.11.3 python-dateutil-2.8.1 requests-2.23.0 srptools-1.0.0 trakt.py-3.1.0 urllib3-1.25.8 varint-1.0.2 zeroconf-0.24.5
  100. WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
  101. You should consider upgrading via the 'pip install --upgrade pip' command.
  102. Removing intermediate container 4395f662b29d
  103. ---> 3473ebd96aae
  104. Step 4/11 : FROM alpine:3.10
  105. ---> af341ccd2df8
  106. Step 5/11 : COPY . /opt/TVRemote
  107. ---> Using cache
  108. ---> 4d70bfaa0f0f
  109. Step 6/11 : RUN apk add --no-cache py3-cryptography py3-lxml py3-paho-mqtt py3-yaml && adduser -D -S -h /opt/TVRemote -s /sbin/nologin tvremote
  110. ---> Running in 6d90f11c9ac5
  111. fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
  112. fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
  113. (1/23) Installing libbz2 (1.0.6-r7)
  114. (2/23) Installing expat (2.2.8-r0)
  115. (3/23) Installing libffi (3.2.1-r6)
  116. (4/23) Installing gdbm (1.13-r1)
  117. (5/23) Installing xz-libs (5.2.4-r0)
  118. (6/23) Installing ncurses-terminfo-base (6.1_p20190518-r2)
  119. (7/23) Installing ncurses-libs (6.1_p20190518-r2)
  120. (8/23) Installing readline (8.0.0-r0)
  121. (9/23) Installing sqlite-libs (3.28.0-r2)
  122. (10/23) Installing python3 (3.7.5-r1)
  123. (11/23) Installing py3-cparser (2.19-r2)
  124. (12/23) Installing py3-cffi (1.11.5-r4)
  125. (13/23) Installing py3-idna (2.8-r1)
  126. (14/23) Installing py3-asn1crypto (0.24.0-r1)
  127. (15/23) Installing py3-six (1.12.0-r1)
  128. (16/23) Installing py3-cryptography (2.6.1-r1)
  129. (17/23) Installing libgpg-error (1.36-r2)
  130. (18/23) Installing libgcrypt (1.8.5-r0)
  131. (19/23) Installing libxml2 (2.9.9-r3)
  132. (20/23) Installing libxslt (1.1.33-r3)
  133. (21/23) Installing py3-lxml (4.3.4-r0)
  134. (22/23) Installing py3-paho-mqtt (1.4.0-r1)
  135. (23/23) Installing py3-yaml (5.1.1-r0)
  136. Executing busybox-1.30.1-r3.trigger
  137. OK: 77 MiB in 37 packages
  138. Removing intermediate container 6d90f11c9ac5
  139. ---> f1321c78d8a9
  140. Step 7/11 : COPY --from=builder /usr/lib/python3.7/site-packages /usr/lib/python3.7/site-packages
  141. ---> de07b5edf20e
  142. Step 8/11 : WORKDIR /opt/TVRemote
  143. ---> Running in 58a1a0a9ce00
  144. Removing intermediate container 58a1a0a9ce00
  145. ---> c0a0f50cc00b
  146. Step 9/11 : USER tvremote
  147. ---> Running in e9fb102b12dc
  148. Removing intermediate container e9fb102b12dc
  149. ---> 514361b12649
  150. Step 10/11 : VOLUME /opt/TVRemote/data
  151. ---> Running in cff81a2bdfe3
  152. Removing intermediate container cff81a2bdfe3
  153. ---> bd9d2dded58d
  154. Step 11/11 : CMD ["python3", "tvscrobbler.py"]
  155. ---> Running in 0be9b8774101
  156. Removing intermediate container 0be9b8774101
  157. ---> 5823021e4d2f
  158. Successfully built 5823021e4d2f
  159. Successfully tagged stigger/trakt-for-appletv:latest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement