Improve atmega Dockerfile apt handling
- Set DEBIAN_FRONTEND as an environment variable. - Add --no-install-recommends to apt-get install.
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
apt-get install -y --no-install-recommends\
|
||||||
build-essential \
|
build-essential \
|
||||||
gcc-avr \
|
gcc-avr \
|
||||||
avrdude \
|
avrdude \
|
||||||
|
|||||||
Reference in New Issue
Block a user