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 airnode to v0.15.0 #417

Merged
merged 4 commits into from
Feb 14, 2025
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
13 changes: 10 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@
# The above commands will allow you to inspect the output of the build stage. You can change the target to debug other
# stages and verify that the image is correct.

# We use the alpine image because of its small size. The alternative considered was the "slim" image, but it is larger
# and we already use alpine (without issues) in other projects, so the size reduction seems worth it.
# Extract the pnpm version from the package.json file and store it in an environment variable.
FROM node:20-slim AS version-extract
WORKDIR /app
COPY package.json .
RUN apt-get update && \
apt-get install -y jq && \
echo "PNPM_VERSION=$(jq -r .packageManager package.json | sed 's/pnpm@//')" >> /tmp/env-vars

FROM node:20-slim AS build
WORKDIR /app
RUN npm install -g pnpm
COPY --from=version-extract /tmp/env-vars /tmp/env-vars
RUN . /tmp/env-vars && npm install -g pnpm@${PNPM_VERSION}
# Copy just the "pnpm-lock.yaml" file and use "pnpm fetch" to download all dependencies just from the lockfile. This
# command is specifically designed to improve building a docker image because it only installs the dependencies if the
# lockfile has changed (otherwise uses the cached value).
Expand Down
8 changes: 4 additions & 4 deletions packages/airnode-feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
},
"license": "MIT",
"dependencies": {
"@api3/airnode-abi": "^0.14.2",
"@api3/airnode-adapter": "^0.14.2",
"@api3/airnode-node": "^0.14.2",
"@api3/airnode-validator": "^0.14.2",
"@api3/airnode-abi": "^0.15.0",
"@api3/airnode-adapter": "^0.15.0",
"@api3/airnode-node": "^0.15.0",
"@api3/airnode-validator": "^0.15.0",
"@api3/commons": "^0.13.4",
"@api3/ois": "^2.3.2",
"@api3/promise-utils": "^0.4.0",
Expand Down
Loading