-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (22 loc) · 851 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ubuntu
# prevent Debian's PHP packages from being installed
# https://github.com/docker-library/php/pull/542
RUN set -eux; \
{ \
echo 'Package: php*'; \
echo 'Pin: release *'; \
echo 'Pin-Priority: -1'; \
} > /etc/apt/preferences.d/no-debian-php
RUN apt-get update; apt-get install -y gcc git emacs make g++ python less build-essential gdb vim curl python3-pip python3.6 python3 googletest cmake libpng-dev
RUN apt-get install -y python-pip python
RUN apt-get install -y man-db manpages-dev manpages-posix-dev
RUN pip install --upgrade pip
RUN pip install virtualenv
RUN pip3 install --upgrade pip
RUN pip3 install --upgrade virtualenv
# add new things here to make rebuilds faster
RUN apt-get install -y libjpeg-dev unzip
VOLUME /Users/swanson
WORKDIR /Users/swanson
ENV HOME /Users/swanson
RUN bash