Skip to content
Snippets Groups Projects
Select Git revision
  • f2b0f3c541f3f2be8a6737a8c8808b2c8c6aa022
  • master default protected
  • feature_validation_only
  • validation-only
  • tanzarchiv-validation-only
  • 1.5
  • v0.1
  • 1.201
  • plugin_v1.2
  • 2019-01
  • mediainfo-based-mdextraction
11 results

README.txt

Blame
  • Andreas Romeyke's avatar
    Andreas Romeyke authored
    f2b0f3c5
    History
    README.txt 1.13 KiB
    How to build mediaconch for Redhat system used by Rosetta
    ====================================================================
    
    :lang: en
    :encoding: utf-8
    :author: Andreas Romeyke
    
    == Prerequisites
    
    * you need 'docker'
    * If using Debian buster or higher, you must(!) add "vsyscall=emulate" option
    to the Linux kernel boot option, because CentOS 6.xx triggers syscalls in an
    outdated way.
    
    == How to build
    
    # If something was built, delete all containers for specific image:
    docker ps -a | awk '{ print $1,$2 }' | grep mediaconch | awk '{print $1 }' | xargs -I {} docker rm {}
    
    # build stuff
    docker build -t mediaconch --rm=true ./
    
    == find out which image
    
    docker images
    
    lists:
    REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
    mediaconch          latest              acc13d4a83d9        3 minutes ago       827 MB
    <none>              <none>              e3be26e603f0        5 minutes ago       824 MB
    centos              6.8                 0cd976dc0a98        10 months ago       195 MB
    
    
    == How to copy already built binaries
    
    id=$(docker create mediaconch)
    
    docker cp $id:/tmp/mediaconch.tgz ./
    
    docker rm -v $id