Commit 0efb2e4c authored by Anton's avatar Anton

Switch to media-base-system image, remove default command

parent 8353d5a3
Pipeline #12159 passed with stage
FROM ubuntu:xenial
FROM motionbank/media-base-system:latest
# Install NodeJS 9
RUN apt-get update && apt-get install -y curl build-essential
RUN curl -sL | bash -
RUN apt-get install -y nodejs
RUN npm i -g npm
# Install FFmpeg & Graphicsmagick
RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:jonathonf/ffmpeg-4
RUN apt-get update && apt-get install -y ffmpeg graphicsmagick
RUN which ffmpeg && which ffprobe && which gm
RUN ffmpeg -version && ffprobe -version
# Install LTC tools
RUN apt-get update && apt-get install -y git pkg-config libjack-dev libsndfile-dev libltc11 libltc-dev
RUN git clone
RUN cd ltc-tools && make all && make install && cd .. && rm -r ltc-tools
# Cleanup
RUN apt-get remove -y software-properties-common curl git pkg-config && apt-get autoremove -y && apt-get clean
# Setup app
COPY . .
RUN rm -rf node_modules
RUN npm install --production
CMD ["node", "src"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment