treat hls.js release as a zip file
This commit is contained in:
parent
2dfe8df171
commit
3be6173b03
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ RUN chmod 644 /code/static/flv.min.js
|
|||
|
||||
RUN mkdir -p /tmp/hls.js && \
|
||||
cd /tmp/hls.js && \
|
||||
wget -O hls.js.tar.gz https://github.com/video-dev/hls.js/releases/download/v1.0.11/release.zip && \
|
||||
tar zxvf hls.js.tar.gz &&
|
||||
wget -O hls.js.zip https://github.com/video-dev/hls.js/releases/download/v1.0.11/release.zip && \
|
||||
unzip hls.js.zip
|
||||
ADD /tmp/hls.js/dist/hls.min.js /code/static/hls.min.js
|
||||
|
||||
USER nobody
|
||||
|
|
Loading…
Reference in a new issue