Initial commit
This commit is contained in:
22
Containerfile
Normal file
22
Containerfile
Normal file
@ -0,0 +1,22 @@
|
||||
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"]
|
Reference in New Issue
Block a user