Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump up node version to 22.5, fix non-buildable Dockerfile #3

Merged
merged 3 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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