Skip to content

Instantly share code, notes, and snippets.

@HauptJ
Last active August 2, 2017 23:54
Show Gist options
  • Save HauptJ/a4a6430cf049b48195951b24a454a6d4 to your computer and use it in GitHub Desktop.
Save HauptJ/a4a6430cf049b48195951b24a454a6d4 to your computer and use it in GitHub Desktop.
C++ Networking Development Docker Container
############################################################
# Dockerfile for Networing Dev
# Based on Ubuntu
############################################################
# Set the base image to Ubuntu Baseimage
FROM phusion/baseimage
# File Author / Maintainer
MAINTAINER josh@hauptj.com
# Update the repository sources list - REDUNDANT
RUN apt-get update
################## BEGIN INSTALLATION ######################
# Update the repository sources list once more
RUN apt-get update && apt-get upgrade -y
# Install GIT, C and C++ compilers and libraries
RUN apt-get install -y git build-essential clang-3.8 clang++-3.8 lldb-3.8 gcc g++ libboost-all-dev libudt-dev libcurl4-openssl-dev
##################### INSTALLATION END #####################
# Expose server port range
EXPOSE 52000-53000
EXPOSE 52000-53000/udp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment