Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
138 views
in Technique[技术] by (71.8m points)

Docker command failing on ARM

Getting this error while trying to build redis timeseries container on ARM

# docker build -t shantanuo/redistimeseries .
Sending build context to Docker daemon  32.75MB
Step 1/19 : ARG REDIS_VER=6.0.9
Step 2/19 : ARG OSNICK=bionic
Step 3/19 : ARG ARCH=arm64v8
Step 4/19 : FROM redisfab/redis:${REDIS_VER}-${ARCH}-${OSNICK} AS builder
 ---> 1b5e0f2c1672
Step 5/19 : ARG REDIS_VER
 ---> Using cache
 ---> f9d3227c2bb0
Step 6/19 : ADD ./ /build
 ---> Using cache
 ---> 371c631e8952
Step 7/19 : WORKDIR /build
 ---> Using cache
 ---> eeadd76e1639
Step 8/19 : RUN ./deps/readies/bin/getpy3
 ---> Running in bea45f18f407
/bin/sh: 1: ./deps/readies/bin/getpy3: not found
The command '/bin/sh -c ./deps/readies/bin/getpy3' returned a non-zero code: 127

I have changed the variables ARCH and OSNICK in step 2 and 3

I got the dockerfile from this location:

https://hub.docker.com/r/redislabs/redistimeseries/dockerfile

Is there any easy way to build images for ARM?

question from:https://stackoverflow.com/questions/65662125/docker-command-failing-on-arm

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...