From 242476abc55df858da5ef5a002ef0fa426bb1da3 Mon Sep 17 00:00:00 2001 From: Kamil Sobol <5849952+sobolk@users.noreply.github.com> Date: Wed, 22 Jan 2025 09:23:14 -0800 Subject: [PATCH 1/3] node-22 version bump --- codebuild_specs/build_image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codebuild_specs/build_image.yml b/codebuild_specs/build_image.yml index 91fff4f525..1f125d26db 100644 --- a/codebuild_specs/build_image.yml +++ b/codebuild_specs/build_image.yml @@ -7,7 +7,7 @@ phases: build: commands: # increment DEFAULT_TAG version to a unique consecutive version whenever you make changes to the dockerfile or image settings - - export DEFAULT_TAG=1.0.3 + - export DEFAULT_TAG=1.0.4-node-22-rc - export IMAGE_TAG=${CUSTOM_TAG:=$DEFAULT_TAG} - echo $IMAGE_TAG - echo $PKG_BINARY_CACHE_BUCKET_NAME From 8c58215184ca4ac61a8b0a2adb6e901d9276e29f Mon Sep 17 00:00:00 2001 From: Kamil Sobol <5849952+sobolk@users.noreply.github.com> Date: Wed, 22 Jan 2025 13:18:50 -0800 Subject: [PATCH 2/3] Update node to 22 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bec1828f21..6b351b39e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -203,9 +203,9 @@ RUN set -ex \ #**************** NODEJS **************************************************** -ENV NODE_18_VERSION="18.15.0" +ENV NODE_VERSION="22.12.0" -RUN n $NODE_18_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \ +RUN n $NODE_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ && apt-get update && apt-get install -y -qq --no-install-recommends yarn \ @@ -374,7 +374,7 @@ VOLUME /var/lib/docker FROM runtimes_n_corretto AS std_v6 # Activate runtime versions specific to image version. -RUN n $NODE_18_VERSION +RUN n $NODE_VERSION RUN pyenv global $PYTHON_38_VERSION RUN goenv global $GOLANG_18_VERSION From f04ee472294facf0f3d4596eb931a58e5281ba73 Mon Sep 17 00:00:00 2001 From: Kamil Sobol <5849952+sobolk@users.noreply.github.com> Date: Fri, 24 Jan 2025 08:31:55 -0800 Subject: [PATCH 3/3] version --- codebuild_specs/build_image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codebuild_specs/build_image.yml b/codebuild_specs/build_image.yml index 1f125d26db..da3ccc3f68 100644 --- a/codebuild_specs/build_image.yml +++ b/codebuild_specs/build_image.yml @@ -7,7 +7,7 @@ phases: build: commands: # increment DEFAULT_TAG version to a unique consecutive version whenever you make changes to the dockerfile or image settings - - export DEFAULT_TAG=1.0.4-node-22-rc + - export DEFAULT_TAG=2.0.0 - export IMAGE_TAG=${CUSTOM_TAG:=$DEFAULT_TAG} - echo $IMAGE_TAG - echo $PKG_BINARY_CACHE_BUCKET_NAME