This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
kicad-builder-docker/Dockerfile

32 lines
1.3 KiB
Docker

FROM debian:10
# Install kicad deps
RUN apt-get update -q && \
apt-get install --no-upgrade -qqy \
git cmake build-essential curl ccache \
libcurl4 libcurl4-gnutls-dev \
libboost-dev libboost-test-dev libboost-filesystem-dev libboost-regex-dev \
liboce-foundation-dev liboce-ocaf-dev \
ca-certificates libssl-dev \
libngspice0-dev \
libglew-dev libglm-dev swig \
libcairo2-dev doxygen graphviz \
python3-wxgtk4.0 \
libwxgtk3.0-dev libwxgtk3.0-gtk3-dev python3 python3-dev \
&& \
apt-get clean && \
apt-get purge && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Download and install linuxdeploy tool
RUN curl -O -J -L https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage && \
chmod +x linuxdeploy-x86_64.AppImage && \
mv linuxdeploy-x86_64.AppImage /usr/bin/linuxdeploy && \
curl -O -J -L https://raw.githubusercontent.com/TheAssassin/linuxdeploy-plugin-conda/master/linuxdeploy-plugin-conda.sh && \
mv linuxdeploy-plugin-conda.sh /usr/bin/linuxdeploy-plugin-conda && \
chmod +x /usr/bin/linuxdeploy-plugin-conda
COPY build-docker.sh /build-docker.sh
ENTRYPOINT ["/bin/bash", "/build-docker.sh"]
CMD ["/kicad"]