You are here

Docker images for vesc build?

5 posts / 0 new
Last post
dammfine
Offline
Last seen: 4 years 3 weeks ago
Joined: 2020-03-15 05:00
Posts: 3
Docker images for vesc build?

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.

Thank you

beekpower
Offline
Last seen: 1 year 11 months ago
Joined: 2018-11-13 01:22
Posts: 2

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.

beekpower
Offline
Last seen: 1 year 11 months ago
Joined: 2018-11-13 01:22
Posts: 2

Scratch that, I got it working in Docker easily. Let me know if you want the Dockerfile.

dammfine
Offline
Last seen: 4 years 3 weeks ago
Joined: 2020-03-15 05:00
Posts: 3

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

 

brycej
Offline
Last seen: 1 month 1 week ago
VESC Free
Joined: 2020-05-26 19:59
Posts: 2

Hey All, I was interested as well if someone got a docker container going for the vesc-tool?