Skip to content

Commit

Permalink
upgrade node and yarn in deployed docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
rally25rs committed Dec 6, 2023
1 parent 0fcffdb commit 80e2e4c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,10 @@
## v0.2.0

- Upgrade yarn from classic `v1` to modern `v4.0.2` (Used locally for build and test)
- Upgrade yarn from classic `v1` to modern `v4.0.2` (Used in deployed Docker images)
- Update deployed docker images from `node:13-alpine` to `node:20-alpine`
- Upgrade all dependencies.

## v0.1.0

- Initial Release
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "k8s-wait",
"version": "0.1.0",
"version": "0.2.0",
"description": "Wait for Kubernetes pods to be availabe.",
"main": "index.js",
"author": "Jeff Valore (rally25rs)",
Expand Down
5 changes: 3 additions & 2 deletions packages/k8s-when-ready-client/Dockerfile
@@ -1,10 +1,11 @@
FROM node:13-alpine
FROM node:20-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json /usr/src/app
RUN yarn install --production --non-interactive
RUN corepack enable
RUN yarn workspaces focus --production

COPY . /usr/src/app

Expand Down
5 changes: 3 additions & 2 deletions packages/k8s-when-ready-server/Dockerfile
@@ -1,10 +1,11 @@
FROM node:13-alpine
FROM node:20-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json /usr/src/app
RUN yarn install --production --non-interactive
RUN corepack enable
RUN yarn workspaces focus --production

COPY . /usr/src/app

Expand Down

0 comments on commit 80e2e4c

Please sign in to comment.