Dockerfile tweak to build on ARM #89

Closed
opened 2023-10-18 13:35:52 +00:00 by iskay · 1 comment
iskay commented 2023-10-18 13:35:52 +00:00 (Migrated from github.com)

The dockerfile uses frolvlad/alpine-bash:latest which doesn't have an ARM image on Docker hub, so the build fails on ARM. If we use

FROM alpine:latest
RUN apk --no-cache add ca-certificates libstdc++ busybox-extras gettext libintl bash gawk sed grep bc coreutils

instead, the ARM build works.

The dockerfile uses `frolvlad/alpine-bash:latest` which doesn't have an ARM image on Docker hub, so the build fails on ARM. If we use ``` FROM alpine:latest RUN apk --no-cache add ca-certificates libstdc++ busybox-extras gettext libintl bash gawk sed grep bc coreutils ``` instead, the ARM build works.

#90

https://git.vdb.to/cerc-io/ipld-eth-beacon-indexer/pulls/90
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/ipld-eth-beacon-indexer#89
No description provided.