64 lines
1.4 KiB
Docker
64 lines
1.4 KiB
Docker
FROM docker.io/ubuntu:20.04
|
|
LABEL maintainer "DeftDawg <DeftDawg@gmail.com>"
|
|
|
|
# Disable interactive package configuration
|
|
RUN apt-get update && \
|
|
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
|
|
# Add a deb-src
|
|
RUN echo deb-src http://archive.ubuntu.com/ubuntu \
|
|
$(cat /etc/*release | grep VERSION_CODENAME | cut -d= -f2) main universe>> /etc/apt/sources.list
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
autoconf \
|
|
build-essential \
|
|
cmake \
|
|
curl \
|
|
eglexternalplatform-dev \
|
|
extra-cmake-modules \
|
|
file \
|
|
git \
|
|
libcairo2-dev \
|
|
libcurl4-openssl-dev \
|
|
libdbus-1-dev \
|
|
libglew-dev \
|
|
libglu1-mesa-dev \
|
|
libglu1-mesa-dev \
|
|
libgstreamer1.0-dev \
|
|
libgstreamerd-3-dev \
|
|
libgstreamer-plugins-base1.0-dev \
|
|
libgstreamer-plugins-good1.0-dev \
|
|
libgtk-3-dev \
|
|
libgtk-3-dev \
|
|
libmspack-dev \
|
|
libosmesa6-dev \
|
|
libsecret-1-dev \
|
|
libsoup2.4-dev \
|
|
libssl-dev \
|
|
libudev-dev \
|
|
libwayland-dev \
|
|
libwebkit2gtk-4.0-dev \
|
|
libxkbcommon-dev \
|
|
m4 \
|
|
pkgconf \
|
|
sudo \
|
|
wayland-protocols \
|
|
wget
|
|
|
|
COPY ./ BambuStudio
|
|
|
|
WORKDIR BambuStudio
|
|
|
|
# These can run together, but we run them seperate for podman caching
|
|
# Update System dependencies
|
|
RUN ./BuildLinux.sh -u
|
|
|
|
# Build dependencies in ./deps
|
|
RUN ./BuildLinux.sh -d
|
|
|
|
# Build slic3r
|
|
RUN ./BuildLinux.sh -s
|
|
|
|
# Build AppImage
|
|
ENV container podman
|
|
RUN ./BuildLinux.sh -i
|