Hey there, I'm trying to build the vesc tool and it's a pain. Has anyone done a docker image that wraps all this? I'm making a docker image now but it is pretty rough going.
I've been struggling to get VESC firmware to build on latest versions of Ubuntu and downgrading is not an option. Did you manage to get the Docker image to work? If not I will give it a go.
For the VESC firmware it was easy and I'll paste it right here, it's so small. But the VESC tool, I have not figured out yet.
FROM ubuntu:18.04
# COPY bldc from https://github.com/vedderb/bldc
COPY bldc /root/
WORKDIR /root
CMD make
# Always need to "apt-get update" after editing the sources or before package install
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:team-gcc-arm-embedded/ppa
RUN apt-get update
# Convenience packages for working within the container's shell
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential vim aptitude less
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gcc-arm-embedded
I've been struggling to get VESC firmware to build on latest versions of Ubuntu and downgrading is not an option. Did you manage to get the Docker image to work? If not I will give it a go.
Scratch that, I got it working in Docker easily. Let me know if you want the Dockerfile.
For the VESC firmware it was easy and I'll paste it right here, it's so small. But the VESC tool, I have not figured out yet.
Hey All, I was interested as well if someone got a docker container going for the vesc-tool?