new cube clt and mx version

new docker registry
This commit is contained in:
2025-05-26 23:05:40 +02:00
parent 77dc72ce64
commit afe409f9d2
9 changed files with 83 additions and 99 deletions

View File

@@ -1,31 +1,25 @@
FROM nexus.springblast.de:8082/carly/docker-stm32/cubeclt:latest
FROM docker.springblast.de/stm32/cubeclt:latest
ARG INSTALL_CUBEMX="true"
ARG LICENSE_ALREADY_ACCEPTED=1
USER root
# Install Xpra, X server, and window manager
# RUN apt-get update && apt-get install -y xpra xterm
# Optionally install the CubeMX
COPY ./Resources/CubeMX/cubemx.tar.gz /home/vscode
RUN tar -xvf /home/vscode/cubemx.tar.gz -C /home/vscode
RUN rm /home/vscode/cubemx.tar.gz
RUN apt-get update && apt-get install --no-install-recommends -y chromium
COPY ./Resources/CubeMX/start-cubemx.sh /home/vscode/
RUN chmod +x /home/vscode/start-cubemx.sh
RUN mkdir /home/temp
WORKDIR /home/temp
RUN wget -q https://nexus.springblast.de/repository/file-repo/Stm32/en.stm32cubemx-lin-v6-14-1.zip
RUN apt-get update && apt-get install -y python3-setuptools
RUN cd /home/vscode && git clone --branch v6.2.5 --single-branch https://github.com/Xpra-org/xpra
RUN cd /home/vscode/xpra && ./setup.py install-repo && apt-get update && apt-get install -y xpra
RUN apt-get clean
RUN unzip en.stm32cubemx-lin-v6-14-1.zip
RUN chmod +x SetupSTM32CubeMX-6.14.1
# RUN if [ "${INSTALL_CUBEMX}" = "true" ]; then \
# chmod +x /tmp/CubeMX/install-cubemx.sh && /tmp/CubeMX/install-cubemx.sh; \
# fi
# && rm -rf /tmp/CubeMX
COPY ./Resources/auto-install.xml .
RUN ./SetupSTM32CubeMX-6.14.1 auto-install.xml
#CMD xpra start --start=xeyes --bind-tcp=0.0.0.0:14500 --html=on --daemon=no && bash
#sudo xpra start :100 --start=xterm --no-daemon --bind-tcp=0.0.0.0:14500 --html=on
RUN rm -rf /home/temp
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*