Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo docker build -t stigger/trakt-for-appletv .
- Password:
- Sending build context to Docker daemon 273.4kB
- Step 1/11 : FROM alpine:3.10 AS builder
- ---> af341ccd2df8
- Step 2/11 : COPY . /opt/TVRemote
- ---> 4d70bfaa0f0f
- 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
- ---> Running in 4395f662b29d
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
- (1/43) Installing binutils (2.32-r0)
- (2/43) Installing libmagic (5.37-r1)
- (3/43) Installing file (5.37-r1)
- (4/43) Installing gmp (6.1.2-r1)
- (5/43) Installing isl (0.18-r0)
- (6/43) Installing libgomp (8.3.0-r0)
- (7/43) Installing libatomic (8.3.0-r0)
- (8/43) Installing libgcc (8.3.0-r0)
- (9/43) Installing mpfr3 (3.1.5-r1)
- (10/43) Installing mpc1 (1.1.0-r0)
- (11/43) Installing libstdc++ (8.3.0-r0)
- (12/43) Installing gcc (8.3.0-r0)
- (13/43) Installing musl-dev (1.1.22-r3)
- (14/43) Installing libc-dev (0.7.1-r0)
- (15/43) Installing g++ (8.3.0-r0)
- (16/43) Installing make (4.2.1-r2)
- (17/43) Installing fortify-headers (1.1-r0)
- (18/43) Installing build-base (0.5-r1)
- (19/43) Installing libbz2 (1.0.6-r7)
- (20/43) Installing expat (2.2.8-r0)
- (21/43) Installing libffi (3.2.1-r6)
- (22/43) Installing gdbm (1.13-r1)
- (23/43) Installing xz-libs (5.2.4-r0)
- (24/43) Installing ncurses-terminfo-base (6.1_p20190518-r2)
- (25/43) Installing ncurses-libs (6.1_p20190518-r2)
- (26/43) Installing readline (8.0.0-r0)
- (27/43) Installing sqlite-libs (3.28.0-r2)
- (28/43) Installing python3 (3.7.5-r1)
- (29/43) Installing py3-cparser (2.19-r2)
- (30/43) Installing py3-cffi (1.11.5-r4)
- (31/43) Installing py3-idna (2.8-r1)
- (32/43) Installing py3-asn1crypto (0.24.0-r1)
- (33/43) Installing py3-six (1.12.0-r1)
- (34/43) Installing py3-cryptography (2.6.1-r1)
- (35/43) Installing libgpg-error (1.36-r2)
- (36/43) Installing libgcrypt (1.8.5-r0)
- (37/43) Installing libxml2 (2.9.9-r3)
- (38/43) Installing libxslt (1.1.33-r3)
- (39/43) Installing py3-lxml (4.3.4-r0)
- (40/43) Installing py3-paho-mqtt (1.4.0-r1)
- (41/43) Installing py3-yaml (5.1.1-r0)
- (42/43) Installing pkgconf (1.6.1-r1)
- (43/43) Installing python3-dev (3.7.5-r1)
- Executing busybox-1.30.1-r3.trigger
- OK: 279 MiB in 57 packages
- Collecting zeroconf (from -r /opt/TVRemote/requirements.txt (line 1))
- Downloading https://files.pythonhosted.org/packages/7c/51/7c32812eebd06f55f83786c32efb741a2f8533ea9966d592f51fa0bff860/zeroconf-0.24.5-py3-none-any.whl (65kB)
- Requirement already satisfied: PyYAML in /usr/lib/python3.7/site-packages (from -r /opt/TVRemote/requirements.txt (line 2)) (5.1.1)
- Collecting protobuf (from -r /opt/TVRemote/requirements.txt (line 3))
- Downloading https://files.pythonhosted.org/packages/27/9c/ef816295b4b40298fd0a17bf8f0ba6cf3e0c44cb2ce72257168e09996b8b/protobuf-3.11.3-py2.py3-none-any.whl (434kB)
- Collecting trakt.py (from -r /opt/TVRemote/requirements.txt (line 4))
- Downloading https://files.pythonhosted.org/packages/db/ef/0877a5f1041fb2dfa9e1f3037dc2dfef6bd8c7182e589fb1bee8b6b41c4f/trakt.py-3.1.0-py2.py3-none-any.whl (66kB)
- Collecting varint (from -r /opt/TVRemote/requirements.txt (line 5))
- Downloading https://files.pythonhosted.org/packages/a8/fe/1ea0ba0896dfa47186692655b86db3214c4b7c9e0e76c7b1dc257d101ab1/varint-1.0.2.tar.gz
- Collecting srptools (from -r /opt/TVRemote/requirements.txt (line 6))
- Downloading https://files.pythonhosted.org/packages/54/6d/b1d42918fc721545d6ba92e6a77e414bc5eda9f4c1c352d8836632499024/srptools-1.0.0-py2.py3-none-any.whl
- Collecting ed25519 (from -r /opt/TVRemote/requirements.txt (line 7))
- Downloading https://files.pythonhosted.org/packages/58/38/72ec85c953b90552fb015f31248256ef19e89a164a40ff8fef680259a608/ed25519-1.5.tar.gz (868kB)
- Requirement already satisfied: cryptography in /usr/lib/python3.7/site-packages (from -r /opt/TVRemote/requirements.txt (line 8)) (2.6.1)
- Requirement already satisfied: lxml in /usr/lib/python3.7/site-packages (from -r /opt/TVRemote/requirements.txt (line 9)) (4.3.4)
- Collecting ifaddr (from zeroconf->-r /opt/TVRemote/requirements.txt (line 1))
- Downloading https://files.pythonhosted.org/packages/9f/54/d92bda685093ebc70e2057abfa83ef1b3fb0ae2b6357262a3e19dfe96bb8/ifaddr-0.1.6.tar.gz
- 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)
- Requirement already satisfied: setuptools in /usr/lib/python3.7/site-packages (from protobuf->-r /opt/TVRemote/requirements.txt (line 3)) (41.2.0)
- Collecting requests<3.0.0,>=2.4.0 (from trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
- Downloading https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl (58kB)
- Collecting arrow<1.0.0,>=0.10.0 (from trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
- Downloading https://files.pythonhosted.org/packages/92/fa/f84896dede5decf284e6922134bf03fd26c90870bbf8015f4e8ee2a07bcc/arrow-0.15.5-py2.py3-none-any.whl (46kB)
- 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)
- 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)
- 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))
- Downloading https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl (125kB)
- Collecting chardet<4,>=3.0.2 (from requests<3.0.0,>=2.4.0->trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
- Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
- Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.4.0->trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
- Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB)
- 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)
- Collecting python-dateutil (from arrow<1.0.0,>=0.10.0->trakt.py->-r /opt/TVRemote/requirements.txt (line 4))
- Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
- 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)
- Installing collected packages: ifaddr, zeroconf, protobuf, urllib3, chardet, certifi, requests, python-dateutil, arrow, trakt.py, varint, srptools, ed25519
- Running setup.py install for ifaddr: started
- Running setup.py install for ifaddr: finished with status 'done'
- Running setup.py install for varint: started
- Running setup.py install for varint: finished with status 'done'
- Running setup.py install for ed25519: started
- Running setup.py install for ed25519: finished with status 'done'
- 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
- WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
- You should consider upgrading via the 'pip install --upgrade pip' command.
- Removing intermediate container 4395f662b29d
- ---> 3473ebd96aae
- Step 4/11 : FROM alpine:3.10
- ---> af341ccd2df8
- Step 5/11 : COPY . /opt/TVRemote
- ---> Using cache
- ---> 4d70bfaa0f0f
- 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
- ---> Running in 6d90f11c9ac5
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
- (1/23) Installing libbz2 (1.0.6-r7)
- (2/23) Installing expat (2.2.8-r0)
- (3/23) Installing libffi (3.2.1-r6)
- (4/23) Installing gdbm (1.13-r1)
- (5/23) Installing xz-libs (5.2.4-r0)
- (6/23) Installing ncurses-terminfo-base (6.1_p20190518-r2)
- (7/23) Installing ncurses-libs (6.1_p20190518-r2)
- (8/23) Installing readline (8.0.0-r0)
- (9/23) Installing sqlite-libs (3.28.0-r2)
- (10/23) Installing python3 (3.7.5-r1)
- (11/23) Installing py3-cparser (2.19-r2)
- (12/23) Installing py3-cffi (1.11.5-r4)
- (13/23) Installing py3-idna (2.8-r1)
- (14/23) Installing py3-asn1crypto (0.24.0-r1)
- (15/23) Installing py3-six (1.12.0-r1)
- (16/23) Installing py3-cryptography (2.6.1-r1)
- (17/23) Installing libgpg-error (1.36-r2)
- (18/23) Installing libgcrypt (1.8.5-r0)
- (19/23) Installing libxml2 (2.9.9-r3)
- (20/23) Installing libxslt (1.1.33-r3)
- (21/23) Installing py3-lxml (4.3.4-r0)
- (22/23) Installing py3-paho-mqtt (1.4.0-r1)
- (23/23) Installing py3-yaml (5.1.1-r0)
- Executing busybox-1.30.1-r3.trigger
- OK: 77 MiB in 37 packages
- Removing intermediate container 6d90f11c9ac5
- ---> f1321c78d8a9
- Step 7/11 : COPY --from=builder /usr/lib/python3.7/site-packages /usr/lib/python3.7/site-packages
- ---> de07b5edf20e
- Step 8/11 : WORKDIR /opt/TVRemote
- ---> Running in 58a1a0a9ce00
- Removing intermediate container 58a1a0a9ce00
- ---> c0a0f50cc00b
- Step 9/11 : USER tvremote
- ---> Running in e9fb102b12dc
- Removing intermediate container e9fb102b12dc
- ---> 514361b12649
- Step 10/11 : VOLUME /opt/TVRemote/data
- ---> Running in cff81a2bdfe3
- Removing intermediate container cff81a2bdfe3
- ---> bd9d2dded58d
- Step 11/11 : CMD ["python3", "tvscrobbler.py"]
- ---> Running in 0be9b8774101
- Removing intermediate container 0be9b8774101
- ---> 5823021e4d2f
- Successfully built 5823021e4d2f
- Successfully tagged stigger/trakt-for-appletv:latest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement