From d841bf2b62c00ed85f1f1ca06b9e9a4161263938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de> Date: Tue, 13 Aug 2019 13:33:15 +0200 Subject: [PATCH] separate README files for separate RHEL versions --- .../{ => add_dnx_mappings}/README.txt | 0 .../add_dnx_mappings.pl | 0 deploy_checkit_tiff/centos6/README.txt | 42 +++++++++++++++++++ deploy_checkit_tiff/centos7/README.txt | 39 +++++++++++++++++ 4 files changed, 81 insertions(+) rename deploy_checkit_tiff/{ => add_dnx_mappings}/README.txt (100%) rename deploy_checkit_tiff/{ => add_dnx_mappings}/add_dnx_mappings.pl (100%) create mode 100644 deploy_checkit_tiff/centos6/README.txt create mode 100644 deploy_checkit_tiff/centos7/README.txt diff --git a/deploy_checkit_tiff/README.txt b/deploy_checkit_tiff/add_dnx_mappings/README.txt similarity index 100% rename from deploy_checkit_tiff/README.txt rename to deploy_checkit_tiff/add_dnx_mappings/README.txt diff --git a/deploy_checkit_tiff/add_dnx_mappings.pl b/deploy_checkit_tiff/add_dnx_mappings/add_dnx_mappings.pl similarity index 100% rename from deploy_checkit_tiff/add_dnx_mappings.pl rename to deploy_checkit_tiff/add_dnx_mappings/add_dnx_mappings.pl diff --git a/deploy_checkit_tiff/centos6/README.txt b/deploy_checkit_tiff/centos6/README.txt new file mode 100644 index 0000000..5bef8c9 --- /dev/null +++ b/deploy_checkit_tiff/centos6/README.txt @@ -0,0 +1,42 @@ +How to build checkit-tiff variants for Redhat 6 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 checkit-tiff | awk '{print $1 }' | xargs -I {} docker rm {} + +# build stuff +docker build -t checkit-tiff --rm=true ./ + +== find out which image + +docker images + +lists: +REPOSITORY TAG IMAGE ID CREATED SIZE +checkit-tiff latest acc13d4a83d9 3 minutes ago 827 MB # <==== that's it! +<none> <none> e3be26e603f0 5 minutes ago 824 MB +centos 6.10 0cd976dc0a98 10 months ago 195 MB + + +== How to copy already built binaries + +id=$(docker create checkit-tiff) + +docker cp $id:/tmp/checkit_tiff_current.tgz ./ +docker cp $id:/tmp/checkit_tiff_upcoming.tgz ./ + +docker rm -v $id + diff --git a/deploy_checkit_tiff/centos7/README.txt b/deploy_checkit_tiff/centos7/README.txt new file mode 100644 index 0000000..47eb597 --- /dev/null +++ b/deploy_checkit_tiff/centos7/README.txt @@ -0,0 +1,39 @@ +How to build checkit-tiff variants for Redhat 7 system used by Rosetta +====================================================================== + +:lang: en +:encoding: utf-8 +:author: Andreas Romeyke + +== Prerequisites + +* you need 'docker' + +== How to build + +# If something was built, delete all containers for specific image: +docker ps -a | awk '{ print $1,$2 }' | grep checkit-tiff | awk '{print $1 }' | xargs -I {} docker rm {} + +# build stuff +docker build -t checkit-tiff --rm=true ./ + +== find out which image + +docker images + +lists: +REPOSITORY TAG IMAGE ID CREATED SIZE +checkit-tiff latest acc13d4a83d9 3 minutes ago 827 MB # <==== that's it! +<none> <none> e3be26e603f0 5 minutes ago 824 MB +centos 7.4 0cd976dc0a98 10 months ago 195 MB + + +== How to copy already built binaries + +id=$(docker create checkit-tiff) + +docker cp $id:/tmp/checkit_tiff_current.tgz ./ +docker cp $id:/tmp/checkit_tiff_upcoming.tgz ./ + +docker rm -v $id + -- GitLab