FROM ubuntu:18.04 #Install all packages needed RUN dpkg --add-architecture i386 RUN apt-get update RUN apt-get install -y libc6:i386 RUN apt-get install -y libusb-0.1-4:i386 RUN apt-get install -y libgconf-2-4:i386 RUN apt-get install -y build-essential RUN apt-get install -y libpython2.7 RUN apt-get install -y git WORKDIR /ccs_install #Files which define which ccs feature to install COPY response.txt /ccs_install #ADD automatically extracts the archive ADD CCS9.1.0.00010_linux-x64.tar.gz /ccs_install/ # Install ccs in unattended mode RUN /ccs_install/CCS9.1.0.00010_linux-x64/ccs_setup_linux64_9.1.0.00010.bin --mode unattended --prefix /opt/ti --response-file /ccs_install/response.txt # TODO: do this in the same step as the ADD and RUN install to remove 800MB in the image. RUN rm -r /ccs_install ENV PATH="/opt/ti/ccs/eclipse/:${PATH}" WORKDIR /home #RUN eclipse -application org.eclipse.equinox.p2.director -repository http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/p2linux/ -installIU com.ti.cgt.msp430.17.linux.feature.group