From 6111447af610829d80b5a2f68b8c1b0024457d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Thu, 2 Dec 2021 12:14:15 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20Bump=20versions=20to=20align=20w?= =?UTF-8?q?ith=20current=20Lambda=20env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/dockerfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dockerfile.js b/lib/dockerfile.js index 0837aa2..b277724 100644 --- a/lib/dockerfile.js +++ b/lib/dockerfile.js @@ -30,15 +30,15 @@ export function generateDockerfile (options) { const lines = [] // Base image on Amazon Linux - lines.push('FROM amazonlinux:2.0.20210721.2') + lines.push('FROM amazonlinux:2.0.20211005.0') // Install prerequisites lines.push('RUN yum install -y gcc gcc-c++ git make openssl-devel tar zip') - lines.push('RUN curl https://nodejs.org/download/release/v14.17.5/node-v14.17.5-linux-x64.tar.gz | tar xz -C /usr --strip-components=1') + lines.push('RUN curl https://nodejs.org/download/release/v14.18.1/node-v14.18.1-linux-x64.tar.gz | tar xz -C /usr --strip-components=1') // Install package managers - lines.push('RUN npm install -g npm@6.14.14') - if (yarn) lines.push('RUN npm install -g yarn@1.22.11') + lines.push('RUN npm install -g npm@6.14.15') + if (yarn) lines.push('RUN npm install -g yarn@1.22.17') // Set the workdir to same directory as Lambdas executes in // Some tools, e.g. Next.js, hard codes the path during the build phase.