This commit is contained in:
alban 2021-07-19 22:35:01 +02:00
commit c38e3b34d4
3 changed files with 58 additions and 0 deletions

9
Dockerfile.debian-buster Normal file
View File

@ -0,0 +1,9 @@
FROM debian:buster
WORKDIR /opt
COPY . .
RUN ./install.sh debian buster
CMD ["/bin/true"]

11
Dockerfile.ubuntu-20.04 Normal file
View File

@ -0,0 +1,11 @@
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /opt
COPY . .
RUN ./install.sh debian buster
CMD ["/bin/true"]

38
install.sh Executable file
View File

@ -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[@]}