Improvements to Docker build
This commit is contained in:
parent
c7f0d050d7
commit
86739df7a1
5
Makefile
5
Makefile
@ -95,6 +95,11 @@ docker-build:
|
|||||||
docker run --rm -v "$(CURDIR)/builds:/builds" \
|
docker run --rm -v "$(CURDIR)/builds:/builds" \
|
||||||
-v "$(CURDIR)/in-docker-build.sh:/in-docker-build.sh" \
|
-v "$(CURDIR)/in-docker-build.sh:/in-docker-build.sh" \
|
||||||
$(DOCKER_IMAGE) "./in-docker-build.sh" $(SOLO_VERSIONISH)
|
$(DOCKER_IMAGE) "./in-docker-build.sh" $(SOLO_VERSIONISH)
|
||||||
|
uncached-docker-build:
|
||||||
|
docker build --no-cache -t $(DOCKER_IMAGE) .
|
||||||
|
docker run --rm -v "$(CURDIR)/builds:/builds" \
|
||||||
|
-v "$(CURDIR)/in-docker-build.sh:/in-docker-build.sh" \
|
||||||
|
$(DOCKER_IMAGE) "./in-docker-build.sh" $(SOLO_VERSIONISH)
|
||||||
|
|
||||||
CPPCHECK_FLAGS=--quiet --error-exitcode=2
|
CPPCHECK_FLAGS=--quiet --error-exitcode=2
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ export PREFIX=/opt/gcc-arm-none-eabi-8-2018-q4-major/bin/
|
|||||||
cd /solo/targets/stm32l432
|
cd /solo/targets/stm32l432
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
git checkout ${version}
|
git checkout ${version}
|
||||||
|
git submodule update --init --recursive
|
||||||
version=$(git describe)
|
version=$(git describe)
|
||||||
|
|
||||||
make cbor
|
make cbor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user