Skip to content

Commit fd1e4fa

Browse files
committed
Various changes
1 parent 2853082 commit fd1e4fa

File tree

7 files changed

+51
-9
lines changed

7 files changed

+51
-9
lines changed

base-dev/Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM netbrain/base-user
2+
3+
#DEV ENV
4+
ENV TOOLS_PATH $HOME/tools
5+
ENV DEV_PATH $HOME/dev
6+
7+
RUN mkdir -p $TOOLS_PATH $DEV_PATH $HOME/bin

base-user/Dockerfile

+1-7
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,4 @@ USER docker
1515

1616
#USER ENV
1717
ENV HOME /home/docker
18-
ENV TOOLS_PATH $HOME/tools
19-
ENV DEV_PATH $HOME/dev
20-
#ENV LANG en_US.UTF-8
21-
#ENV LC_ALL en_US.UTF-8
22-
23-
RUN mkdir -p $TOOLS_PATH $DEV_PATH $HOME/bin
24-
WORKDIR $TOOLS_PATH
18+
WORKDIR $HOME

go/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM netbrain/base-user
1+
FROM netbrain/base-dev
22

33
RUN sudo apt-get -y install libncurses5-dev python-dev \
44
ruby-dev git python2.7 build-essential libncurses5-dev

keepers

+5
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
xhost +local:`docker inspect --format='{{ .Config.Hostname }}' $containerId`
2+
3+
4+
docker run --privileged -v /dev/dri:/dev/dri -v /usr/share/fonts:/usr/share/fonts -v /dev:/dev --rm -it netbrain/xorg
5+
16
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DPLAY=unix$DISPLAY --link friport_db_1:db -it tianon/robomongo

vim-base/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM netbrain/base-user
1+
FROM netbrain/base-dev
22

33
ENV VIM_HOME=$TOOLS_PATH/vim
44

xorg/10-input.conf

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Section "ServerFlags"
2+
Option "AutoAddDevices" "False"
3+
EndSection
4+
5+
Section "ServerLayout"
6+
Identifier "Desktop"
7+
InputDevice "Mouse0" "CorePointer"
8+
InputDevice "Keyboard0" "CoreKeyboard"
9+
EndSection
10+
11+
Section "InputDevice"
12+
Identifier "Keyboard0"
13+
Driver "kbd"
14+
Option "Device" "/dev/input/event0"
15+
EndSection
16+
17+
Section "InputDevice"
18+
Identifier "Mouse0"
19+
Driver "mouse"
20+
Option "Protocol" "auto"
21+
Option "Device" "/dev/input/mice"
22+
Option "ZAxisMapping" "4 5 6 7"
23+
EndSection

xorg/Dockerfile

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM debian:jessie
2+
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
RUN apt-get update
6+
RUN apt-get -y install xorg i3 xserver-xorg-input-kbd
7+
#RUN apt-get -y install xserver-xorg-core
8+
#RUN bash -c "apt-get -y install xserver-xorg-video-{intel,modesetting,fbdev,vesa}"
9+
10+
ADD 10-input.conf /etc/X11/xorg.conf.d/
11+
12+
ENTRYPOINT bash
13+
#docker run --rm --name xorg -it --group-add audio --group-add video --group-add plugdev --device /dev/tty10 --device /dev/input/mice --device /dev/input --device /dev/dri netbrain/xorg

0 commit comments

Comments
 (0)