new file: CubeClt/Dockerfile new file: CubeClt/Resources/CubeCLT/install.sh new file: CubeClt/Resources/Scripts/reinstall-cmake.sh new file: CubeClt/build_and_publish.sh new file: CubeMx/Dockerfile new file: CubeMx/Resources/CubeMX/install-cubemx.sh new file: CubeMx/build_and_publish.sh modified: README.md
24 lines
777 B
Docker
24 lines
777 B
Docker
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
|
|
|
|
# Optionally install the CubeMX
|
|
COPY ./Resources/CubeMX/cubemx.tar.gz /home/vscode
|
|
RUN tar -xvf /home/vscode/cubemx.tar.gz
|
|
|
|
# RUN if [ "${INSTALL_CUBEMX}" = "true" ]; then \
|
|
# chmod +x /tmp/CubeMX/install-cubemx.sh && /tmp/CubeMX/install-cubemx.sh; \
|
|
# fi
|
|
# && rm -rf /tmp/CubeMX
|
|
|
|
#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 |