Created
August 14, 2017 17:08
-
-
Save psychemedia/85c83d1506f45f772812fd83856d3387 to your computer and use it in GitHub Desktop.
Dockerfile for RobertaLab build (https://github.com/exmatrikulator/robertalab, fork of https://github.com/OpenRoberta/robertalab)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN apt update && apt install -y avrdude avr-libc binutils-avr default-jdk gcc-arm-none-eabi gcc-avr gdb-avr git libssl-dev libusb-0.1-4 maven nbc phantomjs python-pip srecord unzip wget && apt-get clean | |
RUN pip install uflash | |
RUN wget -q https://github.com/OpenRoberta/robertalab/archive/master.zip && \ | |
unzip master.zip && \ | |
rm master.zip | |
WORKDIR /robertalab-master/OpenRobertaParent | |
RUN mvn clean install | |
WORKDIR /robertalab-master | |
RUN /robertalab-master/ora.sh --createemptydb OpenRobertaServer/db-2.2.0/openroberta-db | |
VOLUME /robertalab-master/OpenRobertaServer/db-2.2.0 | |
EXPOSE 1999 | |
CMD ["/robertalab-master/ora.sh", "--start-from-git"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment