Skip to content

Commit

Permalink
bump up node version to 22.5, fix non-buildable Dockerfile (#3)
Browse files Browse the repository at this point in the history
* bump up node version to 22.5, fix non-buildable Dockerfile

* Upping github.com/kudulab/docker-ops version to 2.0.1

* Upping nhsdev/deductions-infra-dojo to v24

---------

Co-authored-by: chrisbloe-nhse <151756494+chrisbloe-nhse@users.noreply.github.com>
  • Loading branch information
joefong-nhs and chrisbloe-nhse authored Aug 5, 2024
1 parent 178c693 commit 4539216
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dojofile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DOJO_DOCKER_IMAGE="nhsdev/deductions-infra-dojo:22-d1e07974"
DOJO_DOCKER_IMAGE="nhsdev/deductions-infra-dojo:24-47f9f50f"
7 changes: 2 additions & 5 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22.5-alpine

# Install common Dojo scripts
ENV DOJO_VERSION=0.11.0
Expand All @@ -10,10 +10,7 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repos
rm -r /tmp/dojo_git &&\
echo 'dojo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

ENV AWS_CLI_VERSION=2.15.12 BOTO3_VERSION=1.34.23
RUN apk add --no-cache make python3 py3-pip curl groff &&\
python3 -m ensurepip --upgrade &&\
python3 -m pip install awscli==${AWS_CLI_VERSION} boto3==${BOTO3_VERSION}
RUN apk add --no-cache make python3 py3-pip curl groff aws-cli

# Install sequelize postgress native dependencies
RUN apk add --no-cache postgresql-dev g++ make
Expand Down
2 changes: 1 addition & 1 deletion tasks
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -Eeuo pipefail

DOCKER_OPS_VERSION="2.0.0"
DOCKER_OPS_VERSION="2.0.1"
DOCKER_OPS_FILE="ops/docker-ops-${DOCKER_OPS_VERSION}"
AWS_REGION="eu-west-2"

Expand Down

0 comments on commit 4539216

Please sign in to comment.