ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in / |
CMD ["/bin/bash"] |
ENV STM32CUBEIDE_VERSION=1.15.1 |
ENV STM32CUBEMX_VERSION=1.15.1 |
ENV STLINK_GDB_SERVER_VERSION=2.1.1 |
ENV TZ=Etc/UTC |
ENV LICENSE_ALREADY_ACCEPTED=1 |
RUN /bin/sh -c apt-get update && apt-get -y install zip libgtk-3-0 cmake net-tools gdb-arm-none-eabi gcc-arm-none-eabi build-essential git libxtst6 wget ca-certificates libncurses5 openocd pip && pip install --upgrade pip && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/google-chrome-stable_current_amd64.deb && apt update && apt install -y /tmp/google-chrome-stable_current_amd64.deb # buildkit |
COPY docker/en.stm32cubemx-lin-v6-11-1.zip /tmp/stm32cubemx-installer.zip # buildkit |
COPY docker/auto-install.xml /tmp/auto-install.xml # buildkit |
RUN /bin/sh -c unzip /tmp/stm32cubemx-installer.zip -d /tmp/stm32cubemx-installer && rm -rf /tmp/stm32cubemx-installer.zip && chmod +x /tmp/stm32cubemx-installer/SetupSTM32CubeMX-6.11.1 && /tmp/stm32cubemx-installer/SetupSTM32CubeMX-6.11.1 /tmp/auto-install.xml && echo "alias stm32cubemx=/opt/st/stm32cubemx_6.11.1/STM32CubeMX" > ~/.bashrc # buildkit |
COPY docker/en.st-link-server-v2-1-1.zip /tmp/st-link-server-installer.zip # buildkit |
RUN /bin/sh -c unzip /tmp/st-link-server-installer.zip -d /tmp/st-link-server-installer && rm -rf /tmp/st-link-server-installer.zip && apt install -y /tmp/st-link-server-installer/en.st-link-server_v2.1.1-2/st-stlink-server-2.1.1-1-linux-amd64.deb # buildkit |
RUN /bin/sh -c ln -s /usr/bin/gdb-multiarch /usr/bin/arm-none-eabi-gdb # buildkit |
RUN /bin/sh -c mkdir /root/STM32Cube && mkdir /root/STM32Cube/Repository # buildkit |
COPY docker/stm32cube_fw_f4_1280.zip /tmp/stm32cube_fw_f4_1280.zip # buildkit |
RUN /bin/sh -c unzip /tmp/stm32cube_fw_f4_1280.zip -d /root/STM32Cube/Repository && rm -rf /tmp/stm32cube_fw_f4_1280.zip # buildkit |
COPY docker/STM32Cube_FW_F3_V1.11.4.zip /tmp/STM32Cube_FW_F3_V1.11.4.zip # buildkit |
RUN /bin/sh -c unzip /tmp/STM32Cube_FW_F3_V1.11.4.zip -d /root/STM32Cube/Repository && rm -rf /tmp/STM32Cube_FW_F3_V1.11.4.zip # buildkit |
RUN /bin/sh -c git config --global --add safe.directory /home/stm32_devcontainer # buildkit |
ENTRYPOINT ["bash"] |
LABEL devcontainer.metadata={"customizations":{"vscode":{"extensions":["ms-vscode.cpptools","waderyan.gitblame","ms-vscode.cpptools-themes","twxs.cmake","donjayamanne.python-extension-pack","ms-iot.vscode-ros","mhutchie.git-graph","arturock.gitstash","bierner.markdown-mermaid","marus25.cortex-debug","tomoki1207.pdf"]}},"shutdownAction":"stopCompose"} |