Commit 64bd3dd 1 parent 668d9e0 commit 64bd3dd Copy full SHA for 64bd3dd
File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 38
38
uses : docker/build-push-action@v5
39
39
with :
40
40
context : .
41
- file : ./Dockerfile
41
+ file : ./Dockerfile.kicad-nightly
42
42
build-args : |
43
- KICAD_PPA=kicad-dev-nightly
44
- KICAD_PACKAGE=kicad-nightly
45
- VERSION=${{ github.sha }}
43
+ "VERSION=${{ github.sha }}"
46
44
cache-to : " type=registry,ref=ghcr.io/linalinn/kicad-render:cache-${{ github.ref_name }}"
47
45
cache-from : " type=registry,ref=ghcr.io/linalinn/kicad-render:cache-${{ github.ref_name }}"
48
46
load : true
Original file line number Diff line number Diff line change 1
- FROM ubuntu:24.04
1
+ FROM ubuntu:24.04 as ubuntu-kicad-nightly
2
2
3
3
ARG DEBIAN_FRONTEND=noninteractive
4
4
@@ -10,4 +10,12 @@ RUN apt-get update -y && \
10
10
apt-get install -y software-properties-common && \
11
11
add-apt-repository -y ppa:kicad/kicad-dev-nightly && \
12
12
apt-get install kicad-nightly ffmpeg -y && \
13
- rm -rf /var/lib/apt/lists/*
13
+ rm -rf /var/lib/apt/lists/*
14
+
15
+ FROM ubuntu-kicad-nightly
16
+
17
+ COPY *.sh /usr/bin/
18
+
19
+ RUN chmod +rx /usr/bin/render-pcb.sh && chmod +rx /usr/bin/kicad_animation.sh
20
+
21
+ WORKDIR /pwd
You can’t perform that action at this time.
0 commit comments