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

fix: cmake issue #2021

Merged
merged 2 commits into from
Jan 30, 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
7 changes: 7 additions & 0 deletions .changeset/beige-dancers-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@api3/airnode-deployer": patch
"@api3/airnode-admin": patch
"@api3/airnode-node": patch
---

fixed cmake issue
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ENV appDir="/app" \
# https://github.com/changesets/changesets/blob/8c0846977597ddaf51aaeb35f1f0f9428bf8ba14/packages/cli/src/commands/publish/publishPackages.ts#L57
CI="true"

RUN apk --update --no-cache add build-base cmake linux-headers
RUN apk add --update --no-cache git rsync docker $([ $(arch) == "aarch64" ] && echo "python3 make g++") && \
yarn global add npm && \
# Download both solidity compilers as per: https://github.com/nomiclabs/hardhat/issues/1280#issuecomment-949822371
Expand Down
1 change: 1 addition & 0 deletions packages/airnode-admin/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LABEL application=${name} \

# Install airnode-admin
RUN npm set registry ${npmRegistryUrl} && \
apk add --update --no-cache build-base g++ cmake linux-headers && \
yarn global add ${packageName}@${npmTag} && \
ln -s /usr/local/share/.config/yarn/global/node_modules/${packageName}/dist ${appDir} && \
# Create user
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-deployer/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY ./entrypoint.sh /entrypoint.sh

RUN ARCH=`[ $(arch) == "x86_64" ] && echo "amd64" || echo "arm64" ` && \
# Install external dependencies
apk add --update --no-cache su-exec git dos2unix && \
apk add --update --no-cache su-exec git dos2unix build-base g++ cmake linux-headers && \
# Download Terraform binary
wget ${baseTerraformURL}${ARCH}.zip && \
unzip *.zip -d /bin && \
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-node/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY airnode-crontab ${cronjob}
COPY entrypoint.sh /entrypoint.sh

# Install Tini to correctly pass signals
RUN apk add --update --no-cache tini dos2unix && \
RUN apk add --update --no-cache tini dos2unix build-base g++ cmake linux-headers && \
# Install airnode-node
npm set registry ${npmRegistryUrl} && \
yarn global add ${packageName}@${npmTag} && \
Expand Down
Loading