Another Update Package Yaaay #9
@ -1,8 +1,9 @@
|
||||
FROM alpine:latest
|
||||
# FROM alpine:latest
|
||||
FROM ubuntu:latest
|
||||
|
||||
# RUN apt-get update -y && apt-get upgrade -y
|
||||
# RUN apt-get install -y cmake g++
|
||||
RUN apk add cmake make g++
|
||||
RUN apt-get update -y && apt-get upgrade -y
|
||||
RUN apt-get install -y cmake g++
|
||||
# RUN apk add cmake make g++
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
@ -15,3 +16,4 @@ RUN set -ex; \
|
||||
|
||||
ENTRYPOINT ["cmake", "--build", "build-hosted"]
|
||||
CMD ["-j"]
|
||||
# CMD ["sh"]
|
||||
|
@ -1,8 +1,9 @@
|
||||
FROM alpine:latest
|
||||
# FROM alpine:latest
|
||||
FROM ubuntu:latest
|
||||
|
||||
# RUN apt-get update -y && apt-get upgrade -y
|
||||
# RUN apt-get install -y cmake g++
|
||||
RUN apk add cmake make g++
|
||||
RUN apt-get update -y && apt-get upgrade -y
|
||||
RUN apt-get install -y cmake g++
|
||||
# RUN apk add cmake make g++
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
@ -15,3 +16,4 @@ RUN set -ex; \
|
||||
|
||||
ENTRYPOINT ["cmake", "--build", "build-linux"]
|
||||
CMD ["-j"]
|
||||
# CMD ["sh"]
|
||||
|
25
bsp_stm32_freertos/Dockerfile
Normal file
25
bsp_stm32_freertos/Dockerfile
Normal file
@ -0,0 +1,25 @@
|
||||
# FROM alpine:latest
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN apt-get update -y && apt-get upgrade -y
|
||||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata
|
||||
RUN apt-get install -y cmake g++ npm; \
|
||||
npm install --global xpm@latest; \
|
||||
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
|
||||
# RUN apk add cmake make g++ npm; \
|
||||
# npm install --global xpm@latest; \
|
||||
# xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
|
||||
|
||||
ENV PATH="/root/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.2.1-1.1.2/.content/bin:${PATH}"
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
|
||||
RUN set -ex; \
|
||||
rm -rf build-freertos; \
|
||||
mkdir build-freertos; \
|
||||
cd build-freertos; \
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=freertos -DTGT_BSP=arm/stm32h743zi-nucleo ..;
|
||||
|
||||
ENTRYPOINT ["cmake", "--build", "build-freertos"]
|
||||
CMD ["-j"]
|
||||
# CMD ["sh"]
|
Reference in New Issue
Block a user