1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-21 19:52:29 +00:00

Dev tools in dockerfile, to avoid errors with pip

This commit is contained in:
J. Fernando Sánchez 2015-04-08 21:45:46 +02:00
parent 5196e3c779
commit 882172bccf

View File

@ -1,10 +1,14 @@
FROM ubuntu:14.04 FROM ubuntu:14.04
RUN apt-get update -y RUN apt-get update -y
RUN apt-get install -y build-essential
RUN apt-get install -y cmake
RUN apt-get install -y curl RUN apt-get install -y curl
RUN apt-get install -y diffstat RUN apt-get install -y diffstat
RUN apt-get install -y git RUN apt-get install -y git
RUN apt-get install -y pkg-config
RUN apt-get install -y python RUN apt-get install -y python
RUN apt-get install -y python-dev
RUN apt-get install -y python3 RUN apt-get install -y python3
RUN apt-get install -y tmux RUN apt-get install -y tmux
RUN apt-get install -y vim RUN apt-get install -y vim
@ -35,8 +39,10 @@ RUN sh /home/dev/dotfiles/make.sh
# Link in shared parts of the home directory # Link in shared parts of the home directory
RUN ln -s /var/shared/.ssh RUN ln -s /var/shared/.ssh
RUN ln -s /var/shared/src
RUN chsh dev -s /usr/bin/zsh RUN chsh dev -s /usr/bin/zsh
RUN chown -R dev: /home/dev RUN chown -R dev: /home/dev
RUN chown -R dev: /usr/local/
ENTRYPOINT ["/usr/bin/zsh", "-i"] ENTRYPOINT ["/usr/bin/zsh", "-i"]
USER dev USER dev