We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a24a7f commit 7bfcb2bCopy full SHA for 7bfcb2b
Dockerfile
@@ -1,18 +1,19 @@
1
-FROM kicad/kicad:nightly
2
-
3
-RUN sudo apt update -y && \
4
- sudo apt install -y ffmpeg
+FROM ubuntu:22.04
5
6
ARG DEBIAN_FRONTEND=noninteractive
7
8
ARG VERSION=no-version
9
10
ENV VERSION=$VERSION
11
12
-COPY *.sh /usr/bin/
+RUN apt-get update -y && \
+ apt-get install -y software-properties-common && \
+ add-apt-repository -y ppa:kicad/kicad-dev-nightly && \
+ apt-get install kicad-nightly ffmpeg -y && \
13
+ rm -rf /var/lib/apt/lists/*
14
-RUN sudo chmod a+rx /usr/bin/render-pcb.sh && sudo chmod a+rx /usr/bin/kicad_animation.sh
15
+COPY *.sh /usr/bin/
16
-USER root
17
+RUN chmod a+rx /usr/bin/render-pcb.sh && chmod a+rx /usr/bin/kicad_animation.sh
18
19
WORKDIR /pwd
0 commit comments