Skip to content

Commit c5aef44

Browse files
sy3amdcroote
andauthored
fixed cmake issue (#2021)
Co-authored-by: Derek Croote <dcroote@users.noreply.github.com>
1 parent eaa6570 commit c5aef44

5 files changed

Lines changed: 11 additions & 2 deletions

File tree

.changeset/beige-dancers-invite.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@api3/airnode-deployer": patch
3+
"@api3/airnode-admin": patch
4+
"@api3/airnode-node": patch
5+
---
6+
7+
fixed cmake issue

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ENV appDir="/app" \
66
# https://github.com/changesets/changesets/blob/8c0846977597ddaf51aaeb35f1f0f9428bf8ba14/packages/cli/src/commands/publish/publishPackages.ts#L57
77
CI="true"
88

9+
RUN apk --update --no-cache add build-base cmake linux-headers
910
RUN apk add --update --no-cache git rsync docker $([ $(arch) == "aarch64" ] && echo "python3 make g++") && \
1011
yarn global add npm && \
1112
# Download both solidity compilers as per: https://github.com/nomiclabs/hardhat/issues/1280#issuecomment-949822371

packages/airnode-admin/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ LABEL application=${name} \
1212

1313
# Install airnode-admin
1414
RUN npm set registry ${npmRegistryUrl} && \
15+
apk add --update --no-cache build-base g++ cmake linux-headers && \
1516
yarn global add ${packageName}@${npmTag} && \
1617
ln -s /usr/local/share/.config/yarn/global/node_modules/${packageName}/dist ${appDir} && \
1718
# Create user

packages/airnode-deployer/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY ./entrypoint.sh /entrypoint.sh
1515

1616
RUN ARCH=`[ $(arch) == "x86_64" ] && echo "amd64" || echo "arm64" ` && \
1717
# Install external dependencies
18-
apk add --update --no-cache su-exec git dos2unix && \
18+
apk add --update --no-cache su-exec git dos2unix build-base g++ cmake linux-headers && \
1919
# Download Terraform binary
2020
wget ${baseTerraformURL}${ARCH}.zip && \
2121
unzip *.zip -d /bin && \

packages/airnode-node/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY airnode-crontab ${cronjob}
1515
COPY entrypoint.sh /entrypoint.sh
1616

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

0 commit comments

Comments
 (0)