modified: CubeClt/Dockerfile
modified: CubeClt/build_and_publish.sh modified: CubeMx/Dockerfile new file: CubeMx/Resources/CubeMX/start-cubemx.sh modified: CubeMx/build_and_publish.sh new file: build_and_publish.sh
This commit is contained in:
@@ -3,17 +3,24 @@ FROM nexus.springblast.de:8082/carly/docker-stm32/cubeclt:latest
|
||||
ARG INSTALL_CUBEMX="true"
|
||||
|
||||
# Install Xpra, X server, and window manager
|
||||
RUN apt-get update && apt-get install -y xpra xorg openbox xauth xterm
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libxext6 \
|
||||
libxrender1 \
|
||||
libxtst6 \
|
||||
libxi6
|
||||
# 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
|
||||
RUN tar -xvf /home/vscode/cubemx.tar.gz -C /home/vscode
|
||||
RUN rm /home/vscode/cubemx.tar.gz
|
||||
|
||||
COPY ./Resources/CubeMX/start-cubemx.sh /home/vscode/
|
||||
RUN chmod +x /home/vscode/start-cubemx.sh
|
||||
|
||||
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 if [ "${INSTALL_CUBEMX}" = "true" ]; then \
|
||||
# chmod +x /tmp/CubeMX/install-cubemx.sh && /tmp/CubeMX/install-cubemx.sh; \
|
||||
|
||||
Reference in New Issue
Block a user