From 5e1ddd1855bcb53ce686e2124ed6e9603cb0587a Mon Sep 17 00:00:00 2001 From: Gabriel Castro <16232766+gpcastro@users.noreply.github.com> Date: Fri, 17 May 2019 22:33:30 -0700 Subject: [PATCH] Update Node 10.14.2 (#158) --- images/build/Dockerfile | 4 ++-- tests/Oryx.BuildImage.Tests/VersionInformationTest.cs | 4 ++-- tests/Oryx.RuntimeImage.Tests/NodeImagesTest.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/images/build/Dockerfile b/images/build/Dockerfile index d25ad295cf..bfec760b2d 100644 --- a/images/build/Dockerfile +++ b/images/build/Dockerfile @@ -117,7 +117,7 @@ RUN curl -sL https://git.io/n-install | bash -s -- -ny - \ && ~/n/bin/n -d 9.4.0 \ && ~/n/bin/n -d 10.1.0 \ && ~/n/bin/n -d 10.10.0 \ - && ~/n/bin/n -d 10.14.1 \ + && ~/n/bin/n -d 10.14.2 \ && ~/n/bin/n -d 10.15.2 \ && mv /usr/local/n/versions/node /opt/nodejs \ && rm -rf /usr/local/n ~/n @@ -189,7 +189,7 @@ RUN set -ex \ && ln -s 9.4 /opt/nodejs/9 \ && ln -s 10.1.0 /opt/nodejs/10.1 \ && ln -s 10.10.0 /opt/nodejs/10.10 \ - && ln -s 10.14.1 /opt/nodejs/10.14 \ + && ln -s 10.14.2 /opt/nodejs/10.14 \ && ln -s 10.15.2 /opt/nodejs/10.15 \ && ln -s 10.15 /opt/nodejs/10 \ && ln -s 10 /opt/nodejs/lts diff --git a/tests/Oryx.BuildImage.Tests/VersionInformationTest.cs b/tests/Oryx.BuildImage.Tests/VersionInformationTest.cs index ca9f49a948..f4649aeed1 100644 --- a/tests/Oryx.BuildImage.Tests/VersionInformationTest.cs +++ b/tests/Oryx.BuildImage.Tests/VersionInformationTest.cs @@ -221,7 +221,7 @@ public void Python3Alias_UsesPythonLatestVersion_ByDefault_WhenNoExplicitVersion [InlineData("10.1", "v10.1.0")] [InlineData("10.1.0", "v10.1.0")] [InlineData("10.10.0", "v10.10.0")] - [InlineData("10.14.1", "v10.14.1")] + [InlineData("10.14.2", "v10.14.2")] [InlineData("10.15", "v10.15.2")] public void NodeAlias_UsesVersion_SetOnBenv(string specifiedVersion, string expectedOutput) { @@ -256,7 +256,7 @@ public void NodeAlias_UsesVersion_SetOnBenv(string specifiedVersion, string expe [InlineData("10.1", "5.6.0")] // Make sure the we get the upgraded version of npm in the following cases [InlineData("10.10.0", "6.9.0")] - [InlineData("10.14.1", "6.9.0")] + [InlineData("10.14.2", "6.9.0")] [InlineData("10.15", "6.9.0")] public void UsesExpectedNpmVersion(string nodeVersion, string expectedOutput) { diff --git a/tests/Oryx.RuntimeImage.Tests/NodeImagesTest.cs b/tests/Oryx.RuntimeImage.Tests/NodeImagesTest.cs index a176108858..4f1daaffc9 100644 --- a/tests/Oryx.RuntimeImage.Tests/NodeImagesTest.cs +++ b/tests/Oryx.RuntimeImage.Tests/NodeImagesTest.cs @@ -54,7 +54,7 @@ public NodeRuntimeImageOtherTests(ITestOutputHelper output, TestTempDirTestFixtu [InlineData("10.1", "10.1.0")] [InlineData("10.10", "10.10.0")] [InlineData("10.12", "10.12.0")] - [InlineData("10.14", "10.14.1")] + [InlineData("10.14", "10.14.2")] public void NodeVersionMatchesImageName(string nodeTag, string nodeVersion) { // Arrange & Act