Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the Dockerfiles does not work on AppleSilicon (Tried 18.04 & 20.04) #714

Open
sananand007 opened this issue Sep 25, 2024 · 0 comments
Open

Comments

@sananand007
Copy link

docker build -t kalibr-main -f Dockerfile_ros1_18_04 .

 => => transferring context: 400.19kB                                                                                                                                                                                                                                                   0.1s
 => ERROR [2/5] RUN apt-get update && DEBIAN_FRONTEND=noninteractive  apt-get install -y  git wget autoconf automake nano  python3-dev python3-pip python3-scipy python3-matplotlib  ipython3 python3-wxgtk4.0 python3-tk python3-igraph python3-pyx  libeigen3-dev libboost-all-dev l  0.6s
------                                                                                                                                                                                                                                                                                       
 > [2/5] RUN apt-get update && DEBIAN_FRONTEND=noninteractive   apt-get install -y      git wget autoconf automake nano         python3-dev python3-pip python3-scipy python3-matplotlib        ipython3 python3-wxgtk4.0 python3-tk python3-igraph python3-pyx         libeigen3-dev libboos
t-all-dev libsuitesparse-dev    doxygen         libopencv-dev   libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev     python3-catkin-tools python3-osrf-pycommon:
0.271 exec /bin/sh: exec format error
------

 3 warnings found (use docker --debug to expand):
 - InvalidBaseImagePlatform: Base image osrf/ros:noetic-desktop-full was pulled with platform "linux/amd64", expected "linux/arm64" for current build (line 1)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 19)
 - JSONArgsRecommended: JSON arguments recommended for ENTRYPOINT to prevent unintended behavior related to OS signals (line 38)
Dockerfile_ros1_20_04:6
--------------------
   5 |     # https://github.com/ethz-asl/kalibr/wiki/installation
   6 | >>> RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
   7 | >>>      apt-get install -y \
   8 | >>>      git wget autoconf automake nano \
   9 | >>>      python3-dev python3-pip python3-scipy python3-matplotlib \
  10 | >>>      ipython3 python3-wxgtk4.0 python3-tk python3-igraph python3-pyx \
  11 | >>>      libeigen3-dev libboost-all-dev libsuitesparse-dev \
  12 | >>>      doxygen \
  13 | >>>      libopencv-dev \
  14 | >>>      libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \
  15 | >>>      python3-catkin-tools python3-osrf-pycommon
  16 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive \tapt-get install -y \tgit wget autoconf automake nano \tpython3-dev python3-pip python3-scipy python3-matplotlib \tipython3 python3-wxgtk4.0 python3-tk python3-igraph python3-pyx \tlibeigen3-
dev libboost-all-dev libsuitesparse-dev \tdoxygen \tlibopencv-dev \tlibpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \tpython3-catkin-tools python3-osrf-pycommon" did not complete successfully: exit code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant