Skip to content

Commit

Permalink
fix noninteractive frontend for all apt
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna-f1sh committed Feb 26, 2024
1 parent 909c9ac commit e8844ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@ FROM ubuntu:latest
MAINTAINER John Whittington <[email protected]>
LABEL Description="KiCad 8.0 with KiCad Makefile and plugins used"

ARG DEBIAN_FRONTEND=noninteractive

RUN apt update && \
apt upgrade -y && \
apt install -y wget make zip git python3 python3-pip poppler-utils && \
apt autoclean -y && \
apt autoremove -y && \
apt clean

RUN DEBIAN_FRONTEND=noninteractive apt install software-properties-common -y
RUN apt install software-properties-common -y

# Adding the repository for KiCad 8.0 stable release
RUN add-apt-repository --yes ppa:kicad/kicad-8.0-releases && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 245D5502FAD7A805

# Install KiCad 8.0
RUN apt update && apt install kicad -y
RUN apt update && apt install kicad -y --assume-yes

# Copy kicad-makefile and export environment location
COPY . kicad-makefile/
Expand Down

0 comments on commit e8844ed

Please sign in to comment.