Dockerfile: Use multi-line instructions
Minimize the number of layers and call apt-get update properly
This commit is contained in:
parent
4b8ac90d10
commit
4147a914ac
|
@ -2,11 +2,8 @@
|
||||||
|
|
||||||
FROM debian:9
|
FROM debian:9
|
||||||
|
|
||||||
# update repositories
|
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
|
|
||||||
# install build tools and dependencies
|
# install build tools and dependencies
|
||||||
|
|
||||||
RUN apt-get install -y build-essential git python python-ecdsa gcc-arm-none-eabi
|
RUN apt-get update && apt-get install -y \
|
||||||
RUN apt-get install -y protobuf-compiler libprotobuf-dev python-protobuf
|
build-essential git python python-ecdsa gcc-arm-none-eabi \
|
||||||
|
protobuf-compiler libprotobuf-dev python-protobuf
|
||||||
|
|
Loading…
Reference in New Issue