Giter Club home page Giter Club logo

Comments (4)

saranglakare avatar saranglakare commented on June 18, 2024 2

Requesting Rexray for arm64. These machines are so much cheaper on AWS but unable to use them due to missing rexray plugin. Is there any plan to release for arm64?

from rexray.

xlc avatar xlc commented on June 18, 2024 1

Looking at #865 it seems like arm64 should be supported but seems like not the case currently. What's missing from getting proper arm support?

from rexray.

akamensky avatar akamensky commented on June 18, 2024

Also plugin does not build on arm64 architecture:

root@ubuntu:~/rexray# make DRIVER=s3fs docker-build-plugin
find: warning: the -d option is deprecated; please use -depth instead, because the latter is a POSIX-compliant feature.
find: paths must precede expression: `1'
cp -f .docker/plugins/s3fs/.Dockerfile .docker/plugins/s3fs/Dockerfile
cp -f .docker/plugins/rexray.sh .docker/plugins/s3fs/rexray.sh
sed -e 's/${DRIVER}/s3fs/g' .docker/plugins/rexray.yml > .docker/plugins/s3fs/rexray.yml
docker run -it \
  -v "/root/rexray":"/go/src/github.com/rexray/rexray" golang:1.9.1 \
  bash -c "cd \"src/github.com/rexray/rexray\" && \
  XGOOS=linux XGOARCH=arm64 GOOS= GOARCH= go generate && \
  GOOS=linux GOARCH=arm64 go build -tags 's3fs' -o \"rexray\""
cp -f rexray .docker/plugins/s3fs/rexray
docker plugin rm rexray/s3fs:0.11.4-2 2> /dev/null || true
sudo rm -fr .docker/plugins/s3fs/rootfs
docker build \
  --label `driver="s3fs"` \
  --label `semver="0.11.4+2"` \
  -t rootfsimage .docker/plugins/s3fs && \
  id=$(docker create rootfsimage true) && \
  sudo mkdir -p .docker/plugins/s3fs/rootfs && \
  sudo docker export "$id" | sudo tar -x -C .docker/plugins/s3fs/rootfs && \
  docker rm -vf "$id" && \
  docker rmi rootfsimage
Sending build context to Docker daemon  36.93MB
Step 1/14 : FROM alpine:3.5
3.5: Pulling from library/alpine
no matching manifest for linux/arm64/v8 in the manifest list entries
make: *** [Makefile:302: .docker/plugins/s3fs/rootfs/rexray.sh] Error 1

UPD:

  • That's because alpine:3.5 is only amd64, can be replaced by FROM arm64v8/alpine:3.5
  • Also there is no /lib/libc.musl-x86_64.so.1, but /lib/libc.musl-aarch64.so.1

from rexray.

a-nych avatar a-nych commented on June 18, 2024

Hi @akamensky did you manage to compile RexRay for ARM?

from rexray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.