Skip to content

Commit ccbaf7f

Browse files
committed
copy default fp-lib-table and sym-lib-table for rule checks
1 parent 76dc3d1 commit ccbaf7f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN add-apt-repository --yes ppa:kicad/kicad-8.0-releases && \
1818
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 245D5502FAD7A805
1919

2020
# Install KiCad 8.0
21-
RUN apt update && apt install kicad -y
21+
RUN apt update && apt install --install-recommends kicad -y
2222

2323
# Copy kicad-makefile and export environment location
2424
COPY . kicad-makefile/
@@ -34,6 +34,11 @@ ENV BOM_CMD='python3 -m kibom'
3434
# Add pcbnew module to PYTHONPATH
3535
ENV PYTHONPATH=${PYTHONPATH}:/.kicad/scripting/plugins:/usr/share/kicad/scripting/plugins
3636

37+
# Copy default fp-lib-table to user home kicad config
38+
RUN mkdir -p ~/.config/kicad/8.0 && \
39+
cp /usr/share/kicad/template/fp-lib-table ~/.config/kicad/8.0/fp-lib-table && \
40+
cp /usr/share/kicad/template/sym-lib-table ~/.config/kicad/8.0/sym-lib-table
41+
3742
# Set env to show running in container
3843
ENV KICADMK_DOCKER=1
3944

Kicad.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#
3535
# * Project generated data will be output to '$(PROJECT_ROOT)/output/X' by default
3636
# * Project distributables and production .zip datapacks will be output to '$(PROJECT_ROOT)/output/dist' and '$(PROJECT_ROOT)/output/prod' by default
37-
override KICADMK_VER = 1.1
37+
override KICADMK_VER = 1.2
3838

3939
shell_output =
4040
KICADMK_QUIET ?= 0

0 commit comments

Comments
 (0)