1
0
mirror of https://github.com/pumpitupdev/pumptools.git synced 2024-12-18 01:15:52 +01:00
pumptools/Dockerfile
icex2 517adc153a patch/gfx: Implement scaling using different screen and viewport resolutions
Define a set of fixed modes covering our use-cases to allow rendering
4:3 games to a pillarbox on widescreen monitors.
2021-03-20 11:12:31 +01:00

46 lines
1.3 KiB
Docker

# Use a rather old version of ubuntu to ensure compatibility regarding libc
FROM ubuntu:16.04
LABEL description="Build environment for pumptools"
# Install build dependencies, multilib to get 32-bit versions
RUN dpkg --add-architecture i386
RUN apt-get update
RUN apt-get install -y g++-multilib
RUN apt-get install -y gcc-multilib
RUN apt-get install -y zip
RUN apt-get install -y cmake
RUN apt-get install -y make
RUN apt-get install -y git
RUN apt-get install -y libc6-dev-i386
RUN apt-get install -y libusb-1.0-0-dev:i386
RUN apt-get install -y libusb-dev:i386
RUN apt-get install -y libasound2-dev:i386
RUN apt-get install -y libconfig++-dev:i386
RUN apt-get install -y libx11-dev:i386
RUN apt-get install -y libcurl4-gnutls-dev:i386
RUN apt-get install -y libglu1-mesa-dev:i386
# Delete apt-cache to reduce image size
RUN rm -rf /var/lib/apt/lists/*
# Copy files for building to container
RUN mkdir /pumptools
WORKDIR /pumptools
COPY CHANGELOG.md CHANGELOG.md
COPY CMakeLists.txt CMakeLists.txt
COPY CONTRIBUTING.md CONTRIBUTING.md
COPY LICENSE LICENSE
COPY Makefile Makefile
COPY Package.mk Package.mk
COPY README.md README.md
COPY dist dist
COPY doc doc
COPY cmake cmake
COPY src src
# .git folder required or building fails when version is generated
COPY .git .git
# Building
RUN make build package