Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Mono to latest 4.4.0.182 release #1851

Merged
merged 2 commits into from Jun 17, 2016

Conversation

akoeplinger
Copy link
Contributor

No description provided.

@tianon
Copy link
Member

tianon commented Jun 17, 2016

warning: insecure protocol git:// detected: git://github.com/mono/docker
diff --git a/mono_3.10.0-onbuild/Dockerfile b/mono_4.2.4.4-onbuild/Dockerfile
similarity index 94%
copy from mono_3.10.0-onbuild/Dockerfile
copy to mono_4.2.4.4-onbuild/Dockerfile
index 924571a..67b451b 100644
--- a/mono_3.10.0-onbuild/Dockerfile
+++ b/mono_4.2.4.4-onbuild/Dockerfile
@@ -1,4 +1,4 @@
-FROM mono:3.10.0
+FROM mono:4.2.4.4

 MAINTAINER Jo Shields <jo.shields@xamarin.com>

diff --git a/mono_4.2.3.4/Dockerfile b/mono_4.2.4.4/Dockerfile
similarity index 89%
copy from mono_4.2.3.4/Dockerfile
copy to mono_4.2.4.4/Dockerfile
index 5d4cfcd..15bc2a1 100644
--- a/mono_4.2.3.4/Dockerfile
+++ b/mono_4.2.4.4/Dockerfile
@@ -10,7 +10,7 @@ RUN apt-get update \

 RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

-RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.2.3.4 main" > /etc/apt/sources.list.d/mono-xamarin.list \
+RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.2.4.4 main" > /etc/apt/sources.list.d/mono-xamarin.list \
    && apt-get update \
    && apt-get install -y mono-devel ca-certificates-mono fsharp mono-vbnc nuget \
    && rm -rf /var/lib/apt/lists/*
diff --git a/mono_3.10.0-onbuild/Dockerfile b/mono_4.2.4.4/onbuild/Dockerfile
similarity index 94%
copy from mono_3.10.0-onbuild/Dockerfile
copy to mono_4.2.4.4/onbuild/Dockerfile
index 924571a..67b451b 100644
--- a/mono_3.10.0-onbuild/Dockerfile
+++ b/mono_4.2.4.4/onbuild/Dockerfile
@@ -1,4 +1,4 @@
-FROM mono:3.10.0
+FROM mono:4.2.4.4

 MAINTAINER Jo Shields <jo.shields@xamarin.com>

diff --git a/mono_3.10.0-onbuild/Dockerfile b/mono_4.4.0.182-onbuild/Dockerfile
similarity index 94%
copy from mono_3.10.0-onbuild/Dockerfile
copy to mono_4.4.0.182-onbuild/Dockerfile
index 924571a..3aa0c28 100644
--- a/mono_3.10.0-onbuild/Dockerfile
+++ b/mono_4.4.0.182-onbuild/Dockerfile
@@ -1,4 +1,4 @@
-FROM mono:3.10.0
+FROM mono:4.4.0.182

 MAINTAINER Jo Shields <jo.shields@xamarin.com>

diff --git a/mono_4.2.3.4/Dockerfile b/mono_4.4.0.182/Dockerfile
similarity index 81%
copy from mono_4.2.3.4/Dockerfile
copy to mono_4.4.0.182/Dockerfile
index 5d4cfcd..ad2f69e 100644
--- a/mono_4.2.3.4/Dockerfile
+++ b/mono_4.4.0.182/Dockerfile
@@ -10,7 +10,7 @@ RUN apt-get update \

 RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

-RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.2.3.4 main" > /etc/apt/sources.list.d/mono-xamarin.list \
+RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.4.0.182 main" > /etc/apt/sources.list.d/mono-xamarin.list \
    && apt-get update \
-   && apt-get install -y mono-devel ca-certificates-mono fsharp mono-vbnc nuget \
+   && apt-get install -y mono-devel ca-certificates-mono fsharp mono-vbnc nuget referenceassemblies-pcl \
    && rm -rf /var/lib/apt/lists/*
diff --git a/mono_3.10.0-onbuild/Dockerfile b/mono_4.4.0.182/onbuild/Dockerfile
similarity index 94%
copy from mono_3.10.0-onbuild/Dockerfile
copy to mono_4.4.0.182/onbuild/Dockerfile
index 924571a..3aa0c28 100644
--- a/mono_3.10.0-onbuild/Dockerfile
+++ b/mono_4.4.0.182/onbuild/Dockerfile
@@ -1,4 +1,4 @@
-FROM mono:3.10.0
+FROM mono:4.4.0.182

 MAINTAINER Jo Shields <jo.shields@xamarin.com>

@akoeplinger
Copy link
Contributor Author

@tianon what are you trying to tell me? 😄

@tianon
Copy link
Member

tianon commented Jun 17, 2016

@akoeplinger nothing in particular -- just adding the explicit diff from previous revisions for simplified maintainer review 👍

LGTM (although it appears that 3.10 and 3.8 are failing to build for unknown reasons 😢 -- it might be worth considering whether they're still supported by Mono upstream and removing them if not)

Build test of #1851; 061cb42 (mono):

$ bashbrew build mono:3.10.0
warning: insecure protocol git:// detected: git://github.com/mono/docker
Building bashbrew/cache:f880e450127036257df4e23a8a7988145e6cb5b128c76fb9e33c4726fa4a9b06 (mono:3.10.0)
error: failed building "mono" (tags "3.10.0, 3.10")
exit status 1
docker ["build" "-t" "bashbrew/cache:f880e450127036257df4e23a8a7988145e6cb5b128c76fb9e33c4726fa4a9b06" "--rm" "--force-rm" "-"] output:
Sending build context to Docker daemon 10.24 kB
Step 1 : FROM debian:wheezy
 ---> 027ef2ed4476
Step 2 : MAINTAINER Jo Shields <jo.shields@xamarin.com>
 ---> Using cache
 ---> d8bfb8f7283d
Step 3 : RUN apt-get update     && apt-get install -y curl  && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 5d13ea60e283
Step 4 : RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
 ---> Using cache
 ---> dff40db1231f
Step 5 : RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.10.0 main" > /etc/apt/sources.list.d/mono-xamarin.list         && echo "deb http://download.mono-project.com/repo/debian 310-security main" >> /etc/apt/sources.list.d/mono-xamarin.list     && apt-get update   && apt-get install -y mono-devel fsharp mono-vbnc nuget     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 5c8f329a2b2a
Step 6 : RUN mozroots --machine --import --sync --quiet
 ---> Running in 958319da7565
Removing intermediate container 958319da7565
The command '/bin/sh -c mozroots --machine --import --sync --quiet' returned a non-zero code: 1



$ bashbrew build mono:3.10.0-onbuild
Using bashbrew/cache:3cd1cd844e58f274e7959cc3d05a96626e46d21215685ac45f6c1871512d4c82 (mono:3.10.0-onbuild)
Tagging mono:3.10.0-onbuild
Tagging mono:3.10-onbuild

$ test/run.sh mono:3.10.0-onbuild
testing mono:3.10.0-onbuild
    'override-cmd' [1/1]...passed


$ bashbrew build mono:3.12.1
Using bashbrew/cache:01cf83b3b9caf99e66839aacbae8de6d7ea48574027dbfc577d3d8fd0d9c5837 (mono:3.12.1)
Tagging mono:3.12.1
Tagging mono:3.12.0
Tagging mono:3.12
Tagging mono:3

$ test/run.sh mono:3.12.1
testing mono:3.12.1
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build mono:3.12.1-onbuild
Using bashbrew/cache:c1773909d249e9ca55e696a40e1f2f64cb948ee33d0db9ac38e880ca6aafd1ac (mono:3.12.1-onbuild)
Tagging mono:3.12.1-onbuild
Tagging mono:3.12.0-onbuild
Tagging mono:3.12-onbuild
Tagging mono:3-onbuild

$ test/run.sh mono:3.12.1-onbuild
testing mono:3.12.1-onbuild
    'override-cmd' [1/1]...passed


$ bashbrew build mono:3.8.0
Building bashbrew/cache:969386252a02bd3c32173696b229a60d6ebd878cc544c2c3f3d82184a25d8fb6 (mono:3.8.0)
error: failed building "mono" (tags "3.8.0, 3.8")
exit status 1
docker ["build" "-t" "bashbrew/cache:969386252a02bd3c32173696b229a60d6ebd878cc544c2c3f3d82184a25d8fb6" "--rm" "--force-rm" "-"] output:
Sending build context to Docker daemon 10.24 kB
Step 1 : FROM debian:wheezy
 ---> 027ef2ed4476
Step 2 : MAINTAINER Jo Shields <jo.shields@xamarin.com>
 ---> Using cache
 ---> d8bfb8f7283d
Step 3 : RUN apt-get update     && apt-get install -y curl  && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 5d13ea60e283
Step 4 : RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
 ---> Using cache
 ---> dff40db1231f
Step 5 : RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.8.0 main" > /etc/apt/sources.list.d/mono-xamarin.list         && echo "deb http://download.mono-project.com/repo/debian 38-security main" >> /etc/apt/sources.list.d/mono-xamarin.list   && apt-get update && apt-get install -y mono-devel fsharp mono-vbnc nuget   && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 80cb9b61d5ef
Step 6 : RUN mozroots --machine --import --sync --quiet
 ---> Running in b1c74ec6c111
Removing intermediate container b1c74ec6c111
The command '/bin/sh -c mozroots --machine --import --sync --quiet' returned a non-zero code: 1



$ bashbrew build mono:3.8.0-onbuild
Using bashbrew/cache:be4d79d8905bf0d88f2b27a860febe4a5a07b4cc771f247562858ac5b6f1c403 (mono:3.8.0-onbuild)
Tagging mono:3.8.0-onbuild
Tagging mono:3.8-onbuild

$ test/run.sh mono:3.8.0-onbuild
testing mono:3.8.0-onbuild
    'override-cmd' [1/1]...passed


$ bashbrew build mono:4.0.5.1
Using bashbrew/cache:9305976e6febb203c04e99f5db2e70b9476922226b8c2578955cc7a786828fd8 (mono:4.0.5.1)
Tagging mono:4.0.5.1
Tagging mono:4.0.5
Tagging mono:4.0

$ test/run.sh mono:4.0.5.1
testing mono:4.0.5.1
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build mono:4.0.5.1-onbuild
Using bashbrew/cache:8f62159e8b97cf5feef00126c8cc45626990b220e05fefac60b5cea768ee8635 (mono:4.0.5.1-onbuild)
Tagging mono:4.0.5.1-onbuild
Tagging mono:4.0.5-onbuild
Tagging mono:4.0-onbuild

$ test/run.sh mono:4.0.5.1-onbuild
testing mono:4.0.5.1-onbuild
    'override-cmd' [1/1]...passed


$ bashbrew build mono:4.2.1.102
Using bashbrew/cache:f8821fb0690047b75fe360b01b1fe3f0e27622298d83e8769bc38348e0897953 (mono:4.2.1.102)
Tagging mono:4.2.1.102
Tagging mono:4.2.1

$ test/run.sh mono:4.2.1.102
testing mono:4.2.1.102
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build mono:4.2.1.102-onbuild
Using bashbrew/cache:c284e966b2786bfc5c9a0ca3a44a8234018cb58c0600a87634502bd716a9897b (mono:4.2.1.102-onbuild)
Tagging mono:4.2.1.102-onbuild
Tagging mono:4.2.1-onbuild

$ test/run.sh mono:4.2.1.102-onbuild
testing mono:4.2.1.102-onbuild
    'override-cmd' [1/1]...passed


$ bashbrew build mono:4.2.2.30
Using bashbrew/cache:8b6bc908d922fc422e4dd0464d69ed9b21aead7c1f2f90750c5b92791235b5a7 (mono:4.2.2.30)
Tagging mono:4.2.2.30
Tagging mono:4.2.2

$ test/run.sh mono:4.2.2.30
testing mono:4.2.2.30
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build mono:4.2.2.30-onbuild
Using bashbrew/cache:bdad701aed337b7dba5d9dc302ff59ee4307bd2c55976a1783c6bf4d12cfffa6 (mono:4.2.2.30-onbuild)
Tagging mono:4.2.2.30-onbuild
Tagging mono:4.2.2-onbuild

$ test/run.sh mono:4.2.2.30-onbuild
testing mono:4.2.2.30-onbuild
    'override-cmd' [1/1]...passed


$ bashbrew build mono:4.2.3.4
Using bashbrew/cache:8f825d95fd8b5a23cba9b1efa7475fc804cf641e1c735ff68a630589ab448832 (mono:4.2.3.4)
Tagging mono:4.2.3.4
Tagging mono:4.2.3

$ test/run.sh mono:4.2.3.4
testing mono:4.2.3.4
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build mono:4.2.3.4-onbuild
Using bashbrew/cache:3369aab3a7cef288af79c25459ab8654d52693c56b0c5d8cbd79e044b3b24398 (mono:4.2.3.4-onbuild)
Tagging mono:4.2.3.4-onbuild
Tagging mono:4.2.3-onbuild

$ test/run.sh mono:4.2.3.4-onbuild
testing mono:4.2.3.4-onbuild
    'override-cmd' [1/1]...passed


$ bashbrew build mono:4.2.4.4
Using bashbrew/cache:5eb7719ced548a2ed481af349b0670337d0014d7c93eee20017bd002033c89d6 (mono:4.2.4.4)
Tagging mono:4.2.4.4
Tagging mono:4.2.4
Tagging mono:4.2

$ test/run.sh mono:4.2.4.4
testing mono:4.2.4.4
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build mono:4.2.4.4-onbuild
Using bashbrew/cache:a5899a6cb0de6e1920072ad20b28e43951d992d42766d8376516ce5217921a09 (mono:4.2.4.4-onbuild)
Tagging mono:4.2.4.4-onbuild
Tagging mono:4.2.4-onbuild
Tagging mono:4.2-onbuild

$ test/run.sh mono:4.2.4.4-onbuild
testing mono:4.2.4.4-onbuild
    'override-cmd' [1/1]...passed


$ bashbrew build mono:4.4.0.182
Using bashbrew/cache:4f33986abca443abfead1a44252a460a51eefe013cca9c64c70e5ed09c4425c4 (mono:4.4.0.182)
Tagging mono:4.4.0.182
Tagging mono:4.4.0
Tagging mono:4.4
Tagging mono:4
Tagging mono:latest

$ test/run.sh mono:4.4.0.182
testing mono:4.4.0.182
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build mono:4.4.0.182-onbuild
Using bashbrew/cache:9afe235d4a56586937a9ca4a9bf634d86007ed77e72cd30e6038bd38a1ef3f8d (mono:4.4.0.182-onbuild)
Tagging mono:4.4.0.182-onbuild
Tagging mono:4.4.0-onbuild
Tagging mono:4.4-onbuild
Tagging mono:4-onbuild
Tagging mono:onbuild

$ test/run.sh mono:4.4.0.182-onbuild
testing mono:4.4.0.182-onbuild
    'override-cmd' [1/1]...passed

The following images failed to build: mono:3.10.0 mono:3.8.0

@tianon tianon merged commit 99e785d into docker-library:master Jun 17, 2016
@akoeplinger akoeplinger deleted the patch-1 branch June 17, 2016 17:42
@akoeplinger
Copy link
Contributor Author

Thanks. That's interesting, we still "support" those outdated versions in the sense that they should still install, so I'll need to take a look.

@tianon
Copy link
Member

tianon commented Jun 17, 2016 via email

@akoeplinger
Copy link
Contributor Author

@tianon so in those images we're downloading Mozilla's certificate list from http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1, which seems to be down at the moment:

image

@tianon
Copy link
Member

tianon commented Jun 17, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants