Another Update Package Yaaay #9
@ -1,8 +1,7 @@
|
||||
FROM ubuntu:latest
|
||||
# FROM alpine:latest
|
||||
|
||||
RUN apt-get update -y && apt-get upgrade -y
|
||||
RUN apt-get install -y cmake g++
|
||||
RUN apt-get update && apt-get install -y cmake g++
|
||||
# RUN apk add cmake make g++
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
@ -16,4 +15,4 @@ RUN set -ex; \
|
||||
|
||||
ENTRYPOINT ["cmake", "--build", "build-hosted"]
|
||||
CMD ["-j"]
|
||||
# CMD ["sh"]
|
||||
# CMD ["bash"]
|
||||
|
@ -1,8 +1,7 @@
|
||||
FROM ubuntu:latest
|
||||
# FROM alpine:latest
|
||||
|
||||
RUN apt-get update -y && apt-get upgrade -y
|
||||
RUN apt-get install -y cmake g++
|
||||
RUN apt-get update && apt-get install -y cmake g++
|
||||
# RUN apk add cmake make g++
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
@ -16,3 +15,4 @@ RUN set -ex; \
|
||||
|
||||
ENTRYPOINT ["cmake", "--build", "build-linux"]
|
||||
CMD ["-j"]
|
||||
# CMD ["bash"]
|
||||
|
@ -4,20 +4,13 @@ ARG XPM_ARM_XCOMPILER_VERSION_DEFAULT="10.2.1-1.1.2"
|
||||
|
||||
# Stage 0
|
||||
|
||||
FROM ubuntu:latest
|
||||
FROM node:latest
|
||||
# Issues with XPM cross-compiler on alpine..
|
||||
# FROM alpine:latest
|
||||
ARG XPM_ARM_XCOMPILER_VERSION_DEFAULT
|
||||
ENV XPM_ARM_XCOMPILER_VERSION=$XPM_ARM_XCOMPILER_VERSION_DEFAULT
|
||||
|
||||
RUN apt-get update ; \
|
||||
DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata; \
|
||||
apt-get install -y npm; \
|
||||
npm install --global xpm@latest; \
|
||||
RUN npm install --global xpm@latest; \
|
||||
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@${XPM_ARM_XCOMPILER_VERSION}
|
||||
# RUN apk add cmake make bash npm; \
|
||||
# npm install --global xpm@latest; \
|
||||
# xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
|
||||
|
||||
# Stage 1
|
||||
|
||||
@ -44,3 +37,4 @@ RUN set -ex; \
|
||||
|
||||
ENTRYPOINT ["cmake", "--build", "build-freertos"]
|
||||
CMD ["-j"]
|
||||
# CMD ["bash"]
|
||||
|
Reference in New Issue
Block a user