Skip to content

Commit

Permalink
Merge pull request #171 from asfadmin/cjl/update-docker
Browse files Browse the repository at this point in the history
update node version to 16.x
  • Loading branch information
reweeden authored Oct 9, 2023
2 parents 2c1f63b + ee3c8df commit 68a2d38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Update build Dockerfile to create an entry in /etc/passwd for the user building
the image. It allows the `setup_jwt_cookie.sh` script to be run inside the
container.
* update Node version to 16.x in Docker file to support v12.0.1 of the
[Cumulus Dashboard](https://github.com/nasa/cumulus-dashboard/releases/tag/v12.0.1)

## v17.0.0.0
* Upgrade to [Cumulus v17.0.0](https://github.com/nasa/cumulus/releases/tag/v17.0.0)
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ FROM amazonlinux:2 as core_base
# * AWS CLI
# * Terraform

ENV NODE_VERSION "14.x"
ENV NODE_VERSION "16.x"
ENV TERRAFORM_VERSION "0.13.6"
ENV AWS_CLI_VERSION "2.7.7"

# Add NodeJS and Yarn repos & update package index
RUN \
curl -sL https://rpm.nodesource.com/setup_${NODE_VERSION} | bash - && \
yum install https://rpm.nodesource.com/pub_${NODE_VERSION}/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y && \
yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1 && \
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo && \
yum update -y

Expand Down

0 comments on commit 68a2d38

Please sign in to comment.