Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vchrombie/3289ef71b12d7aae15762054c290c92c to your computer and use it in GitHub Desktop.
Save vchrombie/3289ef71b12d7aae15762054c290c92c to your computer and use it in GitHub Desktop.
> $ docker build -f Dockerfile-grimoirelab-3p -t grimoirelab/full-3p .
Sending build context to Docker daemon 9.728kB
Step 1/9 : FROM grimoirelab/full
latest: Pulling from grimoirelab/full
8f91359f1fff: Pull complete
e07a24799480: Pull complete
b8b48aecf074: Pull complete
44ffb0791c0d: Pull complete
a8c49634b1e5: Pull complete
271462f62998: Pull complete
03cb63b6f604: Pull complete
cfdf92f6fd9c: Pull complete
b25b30384df8: Pull complete
23a888f586fb: Pull complete
52ce2d025ea6: Pull complete
695c7beb2b8e: Pull complete
dadc1efbbde0: Pull complete
d707b3db406c: Pull complete
e2e57120f28f: Pull complete
77c00c87ae3e: Pull complete
1b6e3ce93fb2: Pull complete
fc113575e807: Pull complete
28605a0d909d: Pull complete
8b8648641996: Pull complete
21a2746506af: Pull complete
f23a4d92d064: Pull complete
6672ad354565: Pull complete
b71dd1770642: Pull complete
dd205f985040: Pull complete
45af58aee838: Pull complete
Digest: sha256:05b3abea2f7e44149676e37251dc6b17ff082eed66c1e4e0f6e20f432d4c45c2
Status: Downloaded newer image for grimoirelab/full:latest
---> de57756b355b
Step 2/9 : MAINTAINER Jesus M. Gonzalez-Barahona <jgb@bitergia.com>
---> Running in def88098ab3c
Removing intermediate container def88098ab3c
---> 3cf169f084d7
Step 3/9 : ENV DEBIAN_FRONTEND=noninteractive
---> Running in 9dfa94933fb1
Removing intermediate container 9dfa94933fb1
---> 16c30e636d2b
Step 4/9 : RUN wget https://github.com/fossology/fossology/releases/download/3.8.1/FOSSology-3.8.0-debian9stretch.tar.gz && tar -xzf FOSSology-3.8.0-debian9stretch.tar.gz && rm FOSSology-3.8.0-debian9stretch.tar.gz && cp packages/fossology-common_3.8.1-1_amd64.deb /tmp && cp packages/fossology-nomos_3.8.1-1_amd64.deb /tmp
---> Running in ead73b4e60c5
--2020-05-23 17:07:43-- https://github.com/fossology/fossology/releases/download/3.8.1/FOSSology-3.8.0-debian9stretch.tar.gz
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/15866170/b56b6280-99b7-11ea-99fd-834fd38242c5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200523%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200523T170743Z&X-Amz-Expires=300&X-Amz-Signature=9f689e9286172af908a7cf661850e0c4a5d63a9afd9817b2b07846530b6f40a5&X-Amz-SignedHeaders=host&actor_id=0&repo_id=15866170&response-content-disposition=attachment%3B%20filename%3DFOSSology-3.8.0-debian9stretch.tar.gz&response-content-type=application%2Foctet-stream [following]
--2020-05-23 17:07:44-- https://github-production-release-asset-2e65be.s3.amazonaws.com/15866170/b56b6280-99b7-11ea-99fd-834fd38242c5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200523%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200523T170743Z&X-Amz-Expires=300&X-Amz-Signature=9f689e9286172af908a7cf661850e0c4a5d63a9afd9817b2b07846530b6f40a5&X-Amz-SignedHeaders=host&actor_id=0&repo_id=15866170&response-content-disposition=attachment%3B%20filename%3DFOSSology-3.8.0-debian9stretch.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.40.20
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.40.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6647080 (6.3M) [application/octet-stream]
Saving to: ‘FOSSology-3.8.0-debian9stretch.tar.gz’
0K .......... .......... .......... .......... .......... 0% 112K 57s
50K .......... .......... .......... .......... .......... 1% 1.20M 31s
100K .......... .......... .......... .......... .......... 2% 238K 29s
150K .......... .......... .......... .......... .......... 3% 936K 24s
200K .......... .......... .......... .......... .......... 3% 88.3K 33s
250K .......... .......... .......... .......... .......... 4% 47.3M 27s
300K .......... .......... .......... .......... .......... 5% 40.1M 23s
350K .......... .......... .......... .......... .......... 6% 42.8M 20s
400K .......... .......... .......... .......... .......... 6% 46.0M 18s
450K .......... .......... .......... .......... .......... 7% 41.6M 16s
500K .......... .......... .......... .......... .......... 8% 76.6K 21s
550K .......... .......... .......... .......... .......... 9% 39.5M 19s
600K .......... .......... .......... .......... .......... 10% 42.8M 18s
650K .......... .......... .......... .......... .......... 10% 54.0K 24s
700K .......... .......... .......... .......... .......... 11% 46.3M 22s
750K .......... .......... .......... .......... .......... 12% 45.9M 21s
800K .......... .......... .......... .......... .......... 13% 44.5M 19s
850K .......... .......... .......... .......... .......... 13% 970K 18s
900K .......... .......... .......... .......... .......... 14% 7.06M 17s
950K .......... .......... .......... .......... .......... 15% 150K 18s
1000K .......... .......... .......... .......... .......... 16% 57.8M 17s
1050K .......... .......... .......... .......... .......... 16% 1.63M 16s
1100K .......... .......... .......... .......... .......... 17% 77.9K 18s
1150K .......... .......... .......... .......... .......... 18% 90.9M 18s
1200K .......... .......... .......... .......... .......... 19% 232K 18s
1250K .......... .......... .......... .......... .......... 20% 1.29M 17s
1300K .......... .......... .......... .......... .......... 20% 216K 17s
1350K .......... .......... .......... .......... .......... 21% 249K 17s
1400K .......... .......... .......... .......... .......... 22% 241K 17s
1450K .......... .......... .......... .......... .......... 23% 240K 17s
1500K .......... .......... .......... .......... .......... 23% 973K 16s
1550K .......... .......... .......... .......... .......... 24% 242K 16s
1600K .......... .......... .......... .......... .......... 25% 256K 16s
1650K .......... .......... .......... .......... .......... 26% 248K 16s
1700K .......... .......... .......... .......... .......... 26% 1024K 16s
1750K .......... .......... .......... .......... .......... 27% 252K 16s
1800K .......... .......... .......... .......... .......... 28% 258K 15s
1850K .......... .......... .......... .......... .......... 29% 955K 15s
1900K .......... .......... .......... .......... .......... 30% 246K 15s
1950K .......... .......... .......... .......... .......... 30% 239K 15s
2000K .......... .......... .......... .......... .......... 31% 1.07M 14s
2050K .......... .......... .......... .......... .......... 32% 242K 14s
2100K .......... .......... .......... .......... .......... 33% 247K 14s
2150K .......... .......... .......... .......... .......... 33% 250K 14s
2200K .......... .......... .......... .......... .......... 34% 869K 14s
2250K .......... .......... .......... .......... .......... 35% 250K 14s
2300K .......... .......... .......... .......... .......... 36% 243K 14s
2350K .......... .......... .......... .......... .......... 36% 134K 14s
2400K .......... .......... .......... .......... .......... 37% 6.94M 13s
2450K .......... .......... .......... .......... .......... 38% 222K 13s
2500K .......... .......... .......... .......... .......... 39% 226K 13s
2550K .......... .......... .......... .......... .......... 40% 251K 13s
2600K .......... .......... .......... .......... .......... 40% 558K 13s
2650K .......... .......... .......... .......... .......... 41% 258K 13s
2700K .......... .......... .......... .......... .......... 42% 248K 13s
2750K .......... .......... .......... .......... .......... 43% 251K 12s
2800K .......... .......... .......... .......... .......... 43% 239K 12s
2850K .......... .......... .......... .......... .......... 44% 621K 12s
2900K .......... .......... .......... .......... .......... 45% 279K 12s
2950K .......... .......... .......... .......... .......... 46% 265K 12s
3000K .......... .......... .......... .......... .......... 46% 245K 12s
3050K .......... .......... .......... .......... .......... 47% 543K 11s
3100K .......... .......... .......... .......... .......... 48% 284K 11s
3150K .......... .......... .......... .......... .......... 49% 256K 11s
3200K .......... .......... .......... .......... .......... 50% 240K 11s
3250K .......... .......... .......... .......... .......... 50% 123K 11s
3300K .......... .......... .......... .......... .......... 51% 21.6M 11s
3350K .......... .......... .......... .......... .......... 52% 217K 11s
3400K .......... .......... .......... .......... .......... 53% 702K 10s
3450K .......... .......... .......... .......... .......... 53% 240K 10s
3500K .......... .......... .......... .......... .......... 54% 258K 10s
3550K .......... .......... .......... .......... .......... 55% 230K 10s
3600K .......... .......... .......... .......... .......... 56% 225K 10s
3650K .......... .......... .......... .......... .......... 56% 123K 10s
3700K .......... .......... .......... .......... .......... 57% 8.65M 9s
3750K .......... .......... .......... .......... .......... 58% 209K 9s
3800K .......... .......... .......... .......... .......... 59% 201K 9s
3850K .......... .......... .......... .......... .......... 60% 99.8K 9s
3900K .......... .......... .......... .......... .......... 60% 94.1K 9s
3950K .......... .......... .......... .......... .......... 61% 6.65M 9s
4000K .......... .......... .......... .......... .......... 62% 111K 9s
4050K .......... .......... .......... .......... .......... 63% 116K 9s
4100K .......... .......... .......... .......... .......... 63% 118K 9s
4150K .......... .......... .......... .......... .......... 64% 195K 9s
4200K .......... .......... .......... .......... .......... 65% 117K 9s
4250K .......... .......... .......... .......... .......... 66% 88.5K 9s
4300K .......... .......... .......... .......... .......... 67% 220K 8s
4350K .......... .......... .......... .......... .......... 67% 112K 8s
4400K .......... .......... .......... .......... .......... 68% 119K 8s
4450K .......... .......... .......... .......... .......... 69% 184K 8s
4500K .......... .......... .......... .......... .......... 70% 122K 8s
4550K .......... .......... .......... .......... .......... 70% 117K 8s
4600K .......... .......... .......... .......... .......... 71% 115K 8s
4650K .......... .......... .......... .......... .......... 72% 125K 8s
4700K .......... .......... .......... .......... .......... 73% 144K 7s
4750K .......... .......... .......... .......... .......... 73% 141K 7s
4800K .......... .......... .......... .......... .......... 74% 130K 7s
4850K .......... .......... .......... .......... .......... 75% 178K 7s
4900K .......... .......... .......... .......... .......... 76% 103K 7s
4950K .......... .......... .......... .......... .......... 77% 111K 7s
5000K .......... .......... .......... .......... .......... 77% 114K 7s
5050K .......... .......... .......... .......... .......... 78% 117K 6s
5100K .......... .......... .......... .......... .......... 79% 89.4K 6s
5150K .......... .......... .......... .......... .......... 80% 239K 6s
5200K .......... .......... .......... .......... .......... 80% 115K 6s
5250K .......... .......... .......... .......... .......... 81% 180K 6s
5300K .......... .......... .......... .......... .......... 82% 120K 5s
5350K .......... .......... .......... .......... .......... 83% 119K 5s
5400K .......... .......... .......... .......... .......... 83% 115K 5s
5450K .......... .......... .......... .......... .......... 84% 115K 5s
5500K .......... .......... .......... .......... .......... 85% 116K 5s
5550K .......... .......... .......... .......... .......... 86% 133K 4s
5600K .......... .......... .......... .......... .......... 87% 170K 4s
5650K .......... .......... .......... .......... .......... 87% 124K 4s
5700K .......... .......... .......... .......... .......... 88% 165K 4s
5750K .......... .......... .......... .......... .......... 89% 70.8K 3s
5800K .......... .......... .......... .......... .......... 90% 234K 3s
5850K .......... .......... .......... .......... .......... 90% 110K 3s
5900K .......... .......... .......... .......... .......... 91% 118K 3s
5950K .......... .......... .......... .......... .......... 92% 215K 2s
6000K .......... .......... .......... .......... .......... 93% 172K 2s
6050K .......... .......... .......... .......... .......... 93% 135K 2s
6100K .......... .......... .......... .......... .......... 94% 122K 2s
6150K .......... .......... .......... .......... .......... 95% 76.5K 2s
6200K .......... .......... .......... .......... .......... 96% 237K 1s
6250K .......... .......... .......... .......... .......... 97% 118K 1s
6300K .......... .......... .......... .......... .......... 97% 128K 1s
6350K .......... .......... .......... .......... .......... 98% 140K 0s
6400K .......... .......... .......... .......... .......... 99% 85.2K 0s
6450K .......... .......... .......... .......... . 100% 214K=34s
2020-05-23 17:08:19 (190 KB/s) - ‘FOSSology-3.8.0-debian9stretch.tar.gz’ saved [6647080/6647080]
Removing intermediate container ead73b4e60c5
---> 4e72b2abdd21
Step 5/9 : RUN rm -rf packages
---> Running in 10bec1659846
Removing intermediate container 10bec1659846
---> 44850b56ee02
Step 6/9 : RUN sudo apt-get update && sudo apt-get -y install /tmp/fossology-common_3.8.1-1_amd64.deb /tmp/fossology-nomos_3.8.1-1_amd64.deb cloc && sudo apt-get clean && sudo find /var/lib/apt/lists -type f -delete && sudo rm /tmp/fossology-common_3.8.1-1_amd64.deb /tmp/fossology-nomos_3.8.1-1_amd64.deb
---> Running in d6c4f156cd31
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [527 kB]
Get:5 http://deb.debian.org/debian stretch Release [118 kB]
Get:6 http://deb.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [13.0 kB]
Get:7 http://deb.debian.org/debian stretch Release.gpg [2,410 B]
Get:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2019-11-06-2017.59.pdiff [903 B]
Get:9 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2020-02-23-2017.41.pdiff [1,539 B]
Get:9 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2020-02-23-2017.41.pdiff [1,539 B]
Get:10 http://deb.debian.org/debian stretch/main amd64 Packages [7,083 kB]
Fetched 7,931 kB in 20s (394 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libalgorithm-diff-perl libalgorithm-diff-xs-perl libglib2.0-0
libglib2.0-data libicu57 libjson-c3 libmagic-mgc libmagic1 libpq5
libregexp-common-perl libxml2 libxslt1.1 libzip4 php-cli php-common
php-mbstring php-pear php-xml php-zip php7.0-cli php7.0-common php7.0-curl
php7.0-json php7.0-mbstring php7.0-opcache php7.0-pgsql php7.0-readline
php7.0-xml php7.0-zip sgml-base shared-mime-info xdg-user-dirs xml-core
Suggested packages:
file sgml-base-doc debhelper
The following NEW packages will be installed:
cloc fossology-common fossology-nomos libalgorithm-diff-perl
libalgorithm-diff-xs-perl libglib2.0-0 libglib2.0-data libicu57 libjson-c3
libmagic-mgc libmagic1 libpq5 libregexp-common-perl libxml2 libxslt1.1
libzip4 php-cli php-common php-mbstring php-pear php-xml php-zip php7.0-cli
php7.0-common php7.0-curl php7.0-json php7.0-mbstring php7.0-opcache
php7.0-pgsql php7.0-readline php7.0-xml php7.0-zip sgml-base
shared-mime-info xdg-user-dirs xml-core
0 upgraded, 36 newly installed, 0 to remove and 37 not upgraded.
Need to get 19.0 MB/21.4 MB of archives.
After this operation, 94.8 MB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libicu57 amd64 57.1-6+deb9u4 [7,699 kB]
Get:2 /tmp/fossology-common_3.8.1-1_amd64.deb fossology-common amd64 3.8.1-1 [2,097 kB]
Get:3 /tmp/fossology-nomos_3.8.1-1_amd64.deb fossology-nomos amd64 3.8.1-1 [279 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 sgml-base all 1.29 [14.8 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 libmagic-mgc amd64 1:5.30-1+deb9u3 [222 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 libmagic1 amd64 1:5.30-1+deb9u3 [111 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 libxml2 amd64 2.9.4+dfsg1-2.2+deb9u2 [920 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 libalgorithm-diff-perl all 1.19.03-1 [48.7 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 libregexp-common-perl all 2016060801-1 [178 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 cloc all 1.70-1 [84.7 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 php-common all 1:49 [14.1 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 php-cli all 1:7.0+49 [5,098 B]
Get:13 http://deb.debian.org/debian stretch/main amd64 libxslt1.1 amd64 1.1.29-2.1+deb9u2 [233 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 php-xml all 1:7.0+49 [5,068 B]
Get:15 http://deb.debian.org/debian stretch/main amd64 php-pear all 1:1.10.1+submodules+notgz-9+deb9u1 [282 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 php-mbstring all 1:7.0+49 [5,058 B]
Get:17 http://deb.debian.org/debian stretch/main amd64 libzip4 amd64 1.1.2-1.1+b1 [40.6 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 php-zip all 1:7.0+49 [5,044 B]
Get:19 http://deb.debian.org/debian stretch/main amd64 libglib2.0-0 amd64 2.50.3-2+deb9u2 [2,692 kB]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment