Added KiCad 5.1.6 on Deabian 10.4

This commit is contained in:
Salvador E. Tropea 2020-05-24 16:09:09 -03:00
parent c9952183a2
commit 6da57df3a6
4 changed files with 17 additions and 3 deletions

View File

@ -15,7 +15,8 @@ This image is based on [setsoft/kicad_debian](https://github.com/INTI-CMNB/kicad
The available tags are:
* **10.3-5.1.5** (same as **latest**) is KiCad 5.1.5 on Debian 10.3 with Kiplot 0.2.3, kicad-automation-scripts 1.1.6, KiBoM 1.6.3 and interactivehtmlbom 2.3.1
* **10.3-5.1.5** is KiCad 5.1.5 on Debian 10.3 with Kiplot 0.2.4, kicad-automation-scripts 1.3.1, KiBoM 1.6.3 and interactivehtmlbom 2.3.1
* **10.3-5.1.6** (same as **latest**) is KiCad 5.1.6 on Debian 10.4 with Kiplot 0.2.4, kicad-automation-scripts 1.3.1, KiBoM 1.6.3 and interactivehtmlbom 2.3.1
You can run it using a script like this:

View File

@ -1,3 +1,3 @@
#!/bin/sh
./download.sh
docker build -f Dockerfile -t setsoft/kicad_auto:10.3-5.1.5 .
docker build -f Dockerfile -t setsoft/kicad_auto:10.4-5.1.6 .

2
run.sh
View File

@ -12,4 +12,4 @@ docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY \
--volume="/home/$USER/.cache/kicad:/home/$USER/.cache/kicad:rw" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
setsoft/kicad_auto:10.3-5.1.5 /bin/bash -c "cd workdir/$SUBDIR; kiplot"
setsoft/kicad_auto:latest /bin/bash -c "cd workdir/$SUBDIR; kiplot"

13
run_kicad_same_user.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY \
--user $USER_ID:$GROUP_ID \
--env NO_AT_BRIDGE=1 \
--workdir="/home/$USER" \
--volume="/etc/group:/etc/group:ro" \
--volume="/home/$USER:/home/$USER:rw" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/home/$USER:/home/$USER:rw" \
setsoft/kicad_auto:latest kicad