Skip to content
Snippets Groups Projects
Commit 0d960b80 authored by Armin Co's avatar Armin Co
Browse files

Added docker file for a controled build environment

parent b7ec2c9b
Branches
No related tags found
No related merge requests found
# Image to build QPong
#
FROM ubuntu:latest AS qpongbase
ENV DEBIAN_FRONTEND noninteractive
# Build dependencies
RUN apt-get update && apt-get install -y
RUN apt-get install -y \
build-essential \
cmake \
libfreetype-dev \
libopengl-dev \
libglx-dev \
libglfw3-dev \
libglm-dev \
libfftw3-dev
# Tools for static analysis
RUN apt-get install -y \
cppcheck \
pkgconf
# Specify the wokring directory
WORKDIR /usr/src/qpong/build
FROM qpongbase AS qpongbuild
COPY . /usr/src/qpong
RUN cmake .. && make -j2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment