Skip to content

Commit 17e8997

Browse files
authored
Update Dockerfile
Update the Dockerfile to use github master.zip file instead of outdated python pip source. Add unzip and curl to apt-get install.
1 parent a1c6666 commit 17e8997

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,21 @@ RUN apt-get update && apt-get install -y \
66
libusb-1.0-0 \
77
python-dev \
88
swig \
9+
curl \
10+
unzip \
11+
&& curl -L -o /tmp/master.zip https://github.com/happyleavesaoc/python-firetv/archive/master.zip \
12+
&& cd /tmp \
13+
&& unzip master.zip \
914
&& \
1015
apt-get clean && \
1116
rm -rf /var/lib/apt/lists/*
1217

1318
RUN pip --no-cache-dir install --upgrade pip
1419
RUN pip --no-cache-dir install flask
1520
RUN pip --no-cache-dir install https://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-0.24.0.tar.gz
16-
RUN pip --no-cache-dir install firetv[firetv-server] --process-dependency-links
21+
RUN pip install /tmp/python-firetv-master[firetv-server] --process-dependency-links
1722

18-
CMD [ "firetv-server" ]
23+
CMD ["firetv-server", "-c", "config/devices.yaml"]
1924

2025
# docker build -t docker-firetv .
2126
# docker run -it --rm --name docker-firetv -p 5556:5556 docker-firetv

0 commit comments

Comments
 (0)