-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added KiCad nightly image generation.
- Loading branch information
Showing
8 changed files
with
373 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM debian:10.4-slim | ||
MAINTAINER Salvador E. Tropea <[email protected]> | ||
MAINTAINER Salvador E. Tropea <[email protected]> | ||
LABEL Description="Minimal KiCad image based on Debian" | ||
|
||
RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM debian:bullseye-slim | ||
MAINTAINER Salvador E. Tropea <[email protected]> | ||
LABEL Description="Minimal KiCad image based on Debian" | ||
|
||
COPY *.list / | ||
RUN apt-get -y update && \ | ||
apt-get -y install --no-install-recommends gnupg2 && \ | ||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA854F61C4D0D9572BB95E5245D5502FAD7A805 && \ | ||
apt-get -y remove gnupg2 && \ | ||
mv /*.list /etc/apt/sources.list.d/ && \ | ||
apt-get -y update && \ | ||
apt-get -y install --no-install-recommends kicad-nightly kicad-nightly-symbols kicad-nightly-footprints && \ | ||
apt-get -y autoremove && \ | ||
rm -rf /var/lib/apt/lists/* \ | ||
rm -rf /usr/share/icons/Adwaita/ | ||
COPY *-lib-table /usr/share/kicad-nightly/template/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
# KiCad nightly doesn't include the global symbol lib table: | ||
#cp /usr/share/kicad/template/sym-lib-table . | ||
#cp /usr/share/kicad/template/fp-lib-table . | ||
docker build -f Dockerfile-nightly -t setsoft/kicad_debian:bullseye-5.99-20200922 . | ||
docker build -f Dockerfile-nightly -t setsoft/kicad_debian:nightly . |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
deb http://ppa.launchpad.net/kicad/kicad-dev-nightly/ubuntu groovy main | ||
# deb-src http://ppa.launchpad.net/kicad/kicad-dev-nightly/ubuntu groovy main |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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_debian:nightly kicad-nightly |