@@ -9,6 +9,8 @@ RUN sed 's/main$/main universe/' -i /etc/apt/sources.list && \
99 true | /usr/bin/debconf-set-selections && \
1010 apt-get install -y wget default-jre libxext-dev libswt-gtk-4-jni && \
1111 apt-get install -y libxrender-dev libxtst-dev && \
12+ apt-get install -y gcc g++ && \
13+ apt-get install -y git && \
1214 apt-get clean && \
1315 rm -rf /var/lib/apt/lists/* && \
1416 rm -rf /tmp/*
@@ -35,4 +37,67 @@ RUN chmod +x /usr/local/bin/eclipse && \
3537USER developer
3638ENV HOME /home/developer
3739WORKDIR /home/developer
40+
41+ RUN git clone -b mapy https://github.com/EcoTech-Team/Software.git ~/Software
42+ RUN git clone -b develop https://github.com/EcoTech-Team/Hardware.git ~/Hardware
43+
44+ # Install STM-32 plugins
45+ RUN /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
46+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
47+ -installIU fr.ac6.feature.mcu.externaltools.armnone.feature.group && \
48+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
49+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
50+ -installIU fr.ac6.feature.mcu.externaltools.armnone.feature.group && \
51+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
52+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
53+ -installIU fr.ac6.feature.mcu.utils.feature.group && \
54+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
55+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
56+ -installIU fr.ac6.feature.mcu.externaltools.openocd.feature.group && \
57+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
58+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
59+ -installIU fr.ac6.feature.mcu.documentation.feature.group && \
60+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
61+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
62+ -installIU fr.ac6.feature.mcu.ide.feature.group && \
63+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
64+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
65+ -installIU fr.ac6.feature.mcu.ldscript.feature.group && \
66+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
67+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
68+ -installIU fr.ac6.feature.mcu.debug.feature.group && \
69+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
70+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
71+ -installIU fr.ac6.feature.mcu.externaltools.stlinkserver.feature.group && \
72+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
73+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
74+ -installIU com.st.stm32ide.mpu.feature.common.documentation.feature.group && \
75+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
76+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
77+ -installIU com.st.stm32ide.mpu.feature.common.utils.feature.group && \
78+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
79+ -repository https://download.eclipse.org/releases/2020-03/ \
80+ -installIU org.eclipse.rse.feature.group && \
81+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
82+ -repository https://download.eclipse.org/releases/2020-03/ \
83+ -installIU org.eclipse.libra.facet.feature.feature.group && \
84+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
85+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
86+ -installIU com.st.stm32ide.mpu.feature.debug.feature.group && \
87+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
88+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
89+ -installIU com.st.stm32ide.mpu.feature.ide.feature.group && \
90+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
91+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
92+ -installIU com.st.stm32ide.mpu.feature.documentation.feature.group && \
93+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
94+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
95+ -installIU com.st.stm32ide.mpu.feature.externaltools.openocd.feature.group && \
96+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
97+ -repository http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2 \
98+ -installIU com.st.stm32ide.mpu.feature.productdb.feature.group && \
99+ /opt/eclipse/./eclipse -nosplash -application org.eclipse.equinox.p2.director \
100+ -repository http://avr-eclipse.sourceforge.net/updatesite \
101+ -installIU de.innot.avreclipse.feature.group
102+
38103CMD /bin/bash
0 commit comments