23 lines
663 B
Plaintext
23 lines
663 B
Plaintext
|
FROM docker.io/library/debian:stretch-20220622
|
||
|
|
||
|
COPY ./sources.list /etc/apt/sources.list
|
||
|
|
||
|
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg unzip
|
||
|
|
||
|
RUN mkdir /opt/biftool
|
||
|
WORKDIR /opt/biftool
|
||
|
|
||
|
ADD --chmod=644 https://raw.githubusercontent.com/rokudev/samples/refs/heads/master/utilities/bif%20tool/biftool_linux.zip biftool_linux.zip
|
||
|
RUN unzip biftool_linux.zip && rm -r ./biftool_linux.zip
|
||
|
RUN chmod 755 biftool*
|
||
|
|
||
|
RUN useradd --create-home --shell /bin/bash bifcreator
|
||
|
|
||
|
USER bifcreator
|
||
|
WORKDIR /home/bifcreator
|
||
|
ENV PATH="/opt/biftool:${PATH}"
|
||
|
|
||
|
COPY --chown=bifcreator --chmod=755 ./run_biftool .
|
||
|
ENTRYPOINT ["./run_biftool"]
|
||
|
CMD ["--help"]
|