Another Update Package Yaaay #9

Merged
gaisser merged 21 commits from mueller/yet-another-update-package-nice into master 2021-05-25 14:55:42 +02:00
3 changed files with 7 additions and 14 deletions
Showing only changes of commit e95ba333a5 - Show all commits

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]