commit c38e3b34d4f412d615a7935ea333e99e6606298a Author: alban Date: Mon Jul 19 22:35:01 2021 +0200 [init] diff --git a/Dockerfile.debian-buster b/Dockerfile.debian-buster new file mode 100644 index 0000000..b18faf5 --- /dev/null +++ b/Dockerfile.debian-buster @@ -0,0 +1,9 @@ +FROM debian:buster + +WORKDIR /opt + +COPY . . + +RUN ./install.sh debian buster + +CMD ["/bin/true"] diff --git a/Dockerfile.ubuntu-20.04 b/Dockerfile.ubuntu-20.04 new file mode 100644 index 0000000..0532930 --- /dev/null +++ b/Dockerfile.ubuntu-20.04 @@ -0,0 +1,11 @@ +FROM ubuntu:20.04 + +ENV DEBIAN_FRONTEND noninteractive + +WORKDIR /opt + +COPY . . + +RUN ./install.sh debian buster + +CMD ["/bin/true"] diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..df78f10 --- /dev/null +++ b/install.sh @@ -0,0 +1,38 @@ +#! /bin/bash + +declare -a PACKAGES + +# Openscad +PACKAGES+=(openscad) + +# Printrun +# Note: Bullseye and later seem to split this package in +# plater +# printcore +# printrun +# pronsole +# pronterface +PACKAGES+=(printrun) + +# Slic3r +PACKAGES+=(slic3r) +PACKAGES+=(slic3r-prusa) + + +# Cura +PACKAGES+=(cura-engine) + +# Repsnapper +PACKAGES+=(repsnapper) + +# Freecad +PACKAGES+=(freecad) + +# Inkscape +PACKAGES+=(inkscape) + +# blender +PACKAGES+=(blender) + +apt-get update +apt-get install -y --no-install-recommends ${PACKAGES[@]}