Skip to content

Instantly share code, notes, and snippets.

@sloev
Created January 16, 2025 19:41
Show Gist options
  • Save sloev/9bdbd109c8053ddf808b9c2ec825c275 to your computer and use it in GitHub Desktop.
Save sloev/9bdbd109c8053ddf808b9c2ec825c275 to your computer and use it in GitHub Desktop.
docker build openframeworks
FROM ubuntu:22.04 as base
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /src
RUN apt-get update && \
apt-get remove libunwind-14 -y && \
apt-get install -y \
wget git lsb-release apt-utils unzip sudo
RUN wget -O openframeworks.zip https://github.com/openframeworks/openFrameworks/archive/25eb8ff37a787f1bee84ab0d78858ed8741d4ece.zip
RUN unzip openframeworks.zip -d .
RUN mv openFrameworks-* openframeworks
WORKDIR /src/openframeworks
# RUN mkdir openframeworks && tar -xvf openframeworks.tar.gz --strip-components=1 -C ./openframeworks
RUN git init
RUN git remote add origin https://github.com/openframeworks/openFrameworks.git
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN /bin/bash ./scripts/ci/linux64/install.sh
RUN /bin/bash ./scripts/dev/init_submodules.sh
RUN /bin/bash ./scripts/linux/download_libs.sh -a 64gcc6
RUN /bin/bash ./scripts/ci/linux64/build.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment