Skip to content

Commit 7bfcb2b

Browse files
committed
switch to ubuntu instead of offical kicad images
1 parent 2a24a7f commit 7bfcb2b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Dockerfile

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
FROM kicad/kicad:nightly
2-
3-
RUN sudo apt update -y && \
4-
sudo apt install -y ffmpeg
1+
FROM ubuntu:22.04
52

63
ARG DEBIAN_FRONTEND=noninteractive
74

85
ARG VERSION=no-version
96

107
ENV VERSION=$VERSION
118

12-
COPY *.sh /usr/bin/
9+
RUN apt-get update -y && \
10+
apt-get install -y software-properties-common && \
11+
add-apt-repository -y ppa:kicad/kicad-dev-nightly && \
12+
apt-get install kicad-nightly ffmpeg -y && \
13+
rm -rf /var/lib/apt/lists/*
1314

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/
1516

16-
USER root
17+
RUN chmod a+rx /usr/bin/render-pcb.sh && chmod a+rx /usr/bin/kicad_animation.sh
1718

1819
WORKDIR /pwd

0 commit comments

Comments
 (0)