Files
pumpitupdev_pumptools/Dockerfile
T
icex2 986571a513 pumpnet: Add prinet-proxy application
Sits between the game (client) and pumpnet (server) translating
the game's native protocol to more managable http requests.

Encryption and decryption is also taken care off to remove that
burden from the server side. This makes http requests as generic as
"game version X is sending some data. here, go and figure out what
to do" on the server side.
2021-01-17 01:34:23 +01:00

43 lines
1021 B
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 && apt-get install -y \
g++-multilib \
gcc-multilib \
zip \
cmake \
make \
git \
libc6-dev-i386 \
libusb-1.0-0-dev:i386 \
libusb-dev:i386 \
libasound2-dev:i386 \
libconfig++-dev:i386 \
libx11-dev:i386 \
libcurl4-gnutls-dev:i386 \
libsodium-dev:i386
# 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