Skip to content
Snippets Groups Projects
Commit 6c905f21 authored by Sergey Musikhin's avatar Sergey Musikhin
Browse files

docker

parent e2bd7ce4
No related branches found
No related tags found
No related merge requests found
FROM smusihin/gnuradio-bladerf:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN sudo apt-get update
COPY ./keyboard /etc/default/keyboard
RUN sudo echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections
RUN sudo echo keyboard-configuration keyboard-configuration/layout select 'English (US)' | sudo debconf-set-selections
RUN sudo echo keyboard-configuration keyboard-configuration/layoutcode select 'us' | sudo debconf-set-selections
RUN sudo echo "resolvconf resolvconf/linkify-resolvconf boolean false" | sudo debconf-set-selections
RUN sudo apt-get install -y keyboard-configuration
RUN sudo apt-get install -y qtcreator libxrender1 gdb
RUN sudo apt-get install -y fonts-ubuntu
CMD ["/usr/bin/qtcreator"]
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT="intl"
XKBOPTIONS=""
# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
BACKSPACE="guess"
#!/bin/bash
set -x
# hack but works
xhost +
sudo docker run \
-it --rm --privileged \
-e PULSE_SERVER=unix:/run/user/1000/pulse/native \
-v /var/lib/dbus:/var/lib/dbus \
-v /dev/bus/usb:/dev/bus/usb \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
-e DISPLAY=unix$DISPLAY \
-v /run/user/1000/pulse:/run/user/1000/pulse \
-v $(pwd):/home/blade/gr-bladeRF \
-u blade \
blade-dev /bin/bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment