Merge pull request #3 from myorbit/master

Build docker image without download.sh script
This commit is contained in:
Salvador E. Tropea 2021-09-06 08:50:24 -03:00 committed by GitHub
commit 72815a589f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -41,9 +41,9 @@ docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY \
``` ```
To create the docker image run the [build.sh](https://github.com/INTI-CMNB/kicad_auto/blob/master/build.sh) script. To create the docker image run the [build.sh](https://github.com/INTI-CMNB/kicad_auto/blob/master/build.sh) script.
This script will download the latest KiPlot and needed tools using the [download.sh](https://github.com/INTI-CMNB/kicad_auto/blob/master/download.sh) script. This script will download the latest KiPlot and needed tools.
The [run.sh](https://github.com/INTI-CMNB/kicad_auto/blob/master/download.sh) script is an example of how to run KiPlot using this image locally. The [run.sh](https://github.com/INTI-CMNB/kicad_auto/blob/master/run.sh) script is an example of how to run KiPlot using this image locally.
You must edit the file to define the place where your KiCad project is located. You must edit the file to define the place where your KiCad project is located.
The **WORKDIR** variable indicates the directory where your project and libraries are located. The **WORKDIR** variable indicates the directory where your project and libraries are located.
The **SUBDIR** variable is the subdir inside **WORKDIR** that contains the schematic and PCB files. The **SUBDIR** variable is the subdir inside **WORKDIR** that contains the schematic and PCB files.

View File

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