mirror of
https://github.com/balkian/dotfiles.git
synced 2024-11-24 05:02:29 +00:00
Dev tools in dockerfile, to avoid errors with pip
This commit is contained in:
parent
5196e3c779
commit
882172bccf
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user