mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-22 04:22:07 +00:00
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
|
||||
|
||||
# update repositories
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
# install build tools and dependencies
|
||||
|
||||
RUN apt-get install -y build-essential git python python-ecdsa gcc-arm-none-eabi
|
||||
RUN apt-get install -y protobuf-compiler libprotobuf-dev python-protobuf
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential git python python-ecdsa gcc-arm-none-eabi \
|
||||
protobuf-compiler libprotobuf-dev python-protobuf
|
||||
|
Loading…
Reference in New Issue
Block a user