rethinkdb-dockerfiles icon indicating copy to clipboard operation
rethinkdb-dockerfiles copied to clipboard

Arm Version

Open random-robbie opened this issue 7 years ago • 19 comments

As debian supports arm can we get a version that will run on a raspberry pi please?

arm32v7/debian:buster arm32v7/debian:jessie

random-robbie avatar Sep 23 '17 22:09 random-robbie

If you can convince upstream to package for it, sure.

stuartpb avatar Dec 11 '17 19:12 stuartpb

I'd like that too. First I'd like a stretch package for x86_64, and then getting building in general to work on buster (IIRC it doesn't yet) but after that, arm.

A first step might be to see if make build-deb DEB_RELEASE=jessie works on jessie for ARM.

srh avatar Dec 11 '17 19:12 srh

Seeing as how I'm currently moving the container images to use Alpine Linux, it might also be worth trying to get the upstream maintainer at Alpine (probably Daniel Treadwell) to package for armhf / aarch64.

stuartpb avatar Dec 26 '17 01:12 stuartpb

Any progress on this issue? I have a application that depends on RethinkDB and the image refused to pull due to architecture issues (running armv7 version of Arch Linux ARM on a Raspberry Pi 3).

tilda avatar Jan 02 '19 01:01 tilda

Any progress on this issue? I have a application that depends on RethinkDB and the image refused to pull due to architecture issues (running armv7 version of Arch Linux ARM on a Raspberry Pi 3).

Did you find a way? Even I need to do this!

gagan1510 avatar Feb 12 '19 14:02 gagan1510

A recent commit to Alpine has introduced RethinkDB for AArch64: https://github.com/alpinelinux/aports/commit/da4ea7010152dc36fb1eb52b9824534c74d9f59d

Does that unblock this work now?

rhenwood-arm avatar Aug 22 '19 14:08 rhenwood-arm

looks like it isn't quite ready on AArch64:

/ # apk add rethinkdb
(1/8) Installing ca-certificates (20190108-r0)
(2/8) Installing nghttp2-libs (1.39.2-r2)
(3/8) Installing libcurl (7.65.3-r0)
(4/8) Installing libexecinfo (1.1-r1)
(5/8) Installing libgcc (8.3.0-r0)
(6/8) Installing libstdc++ (8.3.0-r0)
(7/8) Installing protobuf (3.8.0-r1)
(8/8) Installing rethinkdb (2.3.6-r11)
Executing rethinkdb-2.3.6-r11.pre-install
Executing busybox-1.31.0-r0.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 48 MiB in 22 packages
/ # rethinkdb
Recursively removing directory /rethinkdb_data/tmp
Version: rethinkdb 2.3.6 (GCC 8.3.0)
error: Error in src/arch/runtime/thread_pool.cc at line 369:
error: Bus error from accessing the address 0xffffa91ac530.
error: Backtrace:
error: Thu Sep  5 18:35:57 2019
error: Exiting.
Aborted (core dumped)

rhenwood-arm avatar Sep 05 '19 18:09 rhenwood-arm

It is bothering me way too much. Thanks for your efforts... Do let me know when it's done. It'll be of great help.

Thank you!

On Fri, Sep 6, 2019 at 12:07 AM Richard Henwood [email protected] wrote:

looks like it isn't quite ready on AArch64:

/ # apk add rethinkdb (1/8) Installing ca-certificates (20190108-r0) (2/8) Installing nghttp2-libs (1.39.2-r2) (3/8) Installing libcurl (7.65.3-r0) (4/8) Installing libexecinfo (1.1-r1) (5/8) Installing libgcc (8.3.0-r0) (6/8) Installing libstdc++ (8.3.0-r0) (7/8) Installing protobuf (3.8.0-r1) (8/8) Installing rethinkdb (2.3.6-r11) Executing rethinkdb-2.3.6-r11.pre-install Executing busybox-1.31.0-r0.trigger Executing ca-certificates-20190108-r0.trigger OK: 48 MiB in 22 packages / # rethinkdb Recursively removing directory /rethinkdb_data/tmp Version: rethinkdb 2.3.6 (GCC 8.3.0) error: Error in src/arch/runtime/thread_pool.cc at line 369: error: Bus error from accessing the address 0xffffa91ac530. error: Backtrace: error: Thu Sep 5 18:35:57 2019 error: Exiting. Aborted (core dumped)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rethinkdb/rethinkdb-dockerfiles/issues/41?email_source=notifications&email_token=AHBOQFG2IYNM5PE22ZRIWDLQIFGW7A5CNFSM4D4G2DEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6AIX5I#issuecomment-528518133, or mute the thread https://github.com/notifications/unsubscribe-auth/AHBOQFBCCCBVBEOU2UZZGILQIFGW7ANCNFSM4D4G2DEA .

--

[image: Greendeck] http://www.greendeck.co/

GAGANPREET SINGH

SOFTWARE ENGINEER•GREENDECK WWW.GREENDECK.CO http://www.greendeck.co/

+91 9893879594 <+91+9893879594>

@TWITTER https://twitter.com/freakin_insane@FACEBOOK https://www.facebook.com/profile.php?id=100000625275867@LINKEDIN https://linkedin.com/in/gagansingh1510/

gagan1510 avatar Sep 05 '19 18:09 gagan1510

It is bothering me way too much. Thanks for your efforts... Do let me know when it's done. It'll be of great help. Thank you! On Fri, Sep 6, 2019 at 12:07 AM Richard Henwood @.***> wrote: looks like it isn't quite ready on AArch64: / # apk add rethinkdb (1/8) Installing ca-certificates (20190108-r0) (2/8) Installing nghttp2-libs (1.39.2-r2) (3/8) Installing libcurl (7.65.3-r0) (4/8) Installing libexecinfo (1.1-r1) (5/8) Installing libgcc (8.3.0-r0) (6/8) Installing libstdc++ (8.3.0-r0) (7/8) Installing protobuf (3.8.0-r1) (8/8) Installing rethinkdb (2.3.6-r11) Executing rethinkdb-2.3.6-r11.pre-install Executing busybox-1.31.0-r0.trigger Executing ca-certificates-20190108-r0.trigger OK: 48 MiB in 22 packages / # rethinkdb Recursively removing directory /rethinkdb_data/tmp Version: rethinkdb 2.3.6 (GCC 8.3.0) error: Error in src/arch/runtime/thread_pool.cc at line 369: error: Bus error from accessing the address 0xffffa91ac530. error: Backtrace: error: Thu Sep 5 18:35:57 2019 error: Exiting. Aborted (core dumped) — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#41?email_source=notifications&email_token=AHBOQFG2IYNM5PE22ZRIWDLQIFGW7A5CNFSM4D4G2DEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6AIX5I#issuecomment-528518133>, or mute the thread https://github.com/notifications/unsubscribe-auth/AHBOQFBCCCBVBEOU2UZZGILQIFGW7ANCNFSM4D4G2DEA . -- [image: Greendeck] http://www.greendeck.co/ GAGANPREET SINGH SOFTWARE ENGINEER•GREENDECK WWW.GREENDECK.CO http://www.greendeck.co/ +91 9893879594 <+91+9893879594> @twitter https://twitter.com/freakin_insane@FACEBOOK https://www.facebook.com/profile.php?id=100000625275867@LINKEDIN https://linkedin.com/in/gagansingh1510/

@rhenwood-arm @gagan1510 Activity to support AARCH64 platform is done in following PR .. PLease have a look and let me know if any thing is required from my side ... https://github.com/alpinelinux/aports/pull/12096

ossdev07 avatar Nov 18 '19 10:11 ossdev07

Getting a PR to bring that patch into RethinkDB would be great.

srh avatar Nov 19 '19 00:11 srh

While installing this package on ARM64 Alpine Environment using command "apk add rethinkdb" , i am facing error related to libprotobuf.

/ # apk add rethinkdb
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  so:libprotobuf.so.22 (missing):
    required by: rethinkdb-2.3.6-r15[so:libprotobuf.so.22]

parampreet004 avatar Nov 28 '19 06:11 parampreet004

Hi all, rethinkDB changes for AARCH64 are merged and released in alpinelinux repo now https://github.com/alpinelinux/aports/commit/11c42c35632ded5b149aca0a598aa84646bac751 https://pkgs.alpinelinux.org/packages?name=rethinkdb&branch=edge

I have already verified by creating alpine docker and installing rethinkDB, so we can close this issue Thanks,

ossdev07 avatar Jan 08 '20 09:01 ossdev07

Hi all, rethinkDB changes for AARCH64 are merged and released in alpinelinux repo now alpinelinux/aports@11c42c3 https://pkgs.alpinelinux.org/packages?name=rethinkdb&branch=edge

I have already verified by creating alpine docker and installing rethinkDB, so we can close this issue Thanks,

I just tried to build this without luck:

jflattery@raspberrypi:~/docker/rethinkdb $ uname -a
Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
jflattery@raspberrypi:~/docker/rethinkdb $ cat Dockerfile
FROM alpine:latest

RUN apk add rethinkdb

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

#   process cluster webui
EXPOSE 28015 29015 8080

jflattery@raspberrypi:~/docker/rethinkdb $ docker build -t rethinkdb .
Sending build context to Docker daemon  76.42MB
Step 1/6 : FROM alpine:latest
 ---> 0d8bd234c4c8
Step 2/6 : RUN apk add rethinkdb
 ---> Running in eb7e44488aa3
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/armv7/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  rethinkdb (missing):
    required by: world[rethinkdb]
The command '/bin/sh -c apk add rethinkdb' returned a non-zero code: 1
jflattery@raspberrypi:~/docker/rethinkdb $

jflattery avatar Apr 19 '20 03:04 jflattery

I just tried this using the edge branch of alpine... still no luck.

jflattery@raspberrypi:~/docker/rethinkdb $ docker build -t rethinkdb .
Sending build context to Docker daemon  76.42MB
Step 1/6 : FROM alpine:edge
edge: Pulling from library/alpine
8fe3637c51d5: Pull complete
Digest: sha256:2849e06886c579433ccf3738e36017dc2b354a91d640fb01761d5b70f98d0e05
Status: Downloaded newer image for alpine:edge
 ---> d45cea782d9b
Step 2/6 : RUN apk add rethinkdb
 ---> Running in 1fd6334a2f89
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  rethinkdb (missing):
    required by: world[rethinkdb]
The command '/bin/sh -c apk add rethinkdb' returned a non-zero code: 1
jflattery@raspberrypi:~/docker/rethinkdb $

jflattery avatar Apr 19 '20 04:04 jflattery

I found that my issue above is due to my host OS being 32bit (armv7l) and the rethinkdb package in the alpine repo is built for AARCH64.

That being said, this issue should NOT be closed as suggested by @ossdev07 as the issue was originally seeking support for arm32v7.

jflattery avatar Apr 19 '20 04:04 jflattery

Why has the rethinkdb aarch64 build disappeared from edge? For whatever reason, I found a 2.3.6r-15 version for aarch64 for Alpine Linux 3.11. I then made a Docker image with it thanks to this Dockerfile.

What I'd like is now to understand how Alpine got this rethinkdb binary, so that I can build with more recent versions of Rethinkdb.

gounthar avatar Nov 19 '20 08:11 gounthar

work for me

https://hub.docker.com/r/djtidau/rethinkdb-2.4.1

isamuninja avatar Jun 12 '21 22:06 isamuninja

thanks @isamuninja

fernandomoraes avatar Jun 15 '21 14:06 fernandomoraes

https://github.com/docker-library/official-images/pull/12389 will fix this for 2.4.2 and above.

gabor-boros avatar May 08 '22 17:05 gabor-boros