Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gr-bladeRF-cdc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ELEN90089 CDC
gr-bladeRF-cdc
Commits
6c905f21
Commit
6c905f21
authored
May 30, 2021
by
Sergey Musikhin
Browse files
Options
Downloads
Patches
Plain Diff
docker
parent
e2bd7ce4
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker/Dockerfile
+12
-0
12 additions, 0 deletions
docker/Dockerfile
docker/keyboard
+17
-0
17 additions, 0 deletions
docker/keyboard
docker/run.sh
+18
-0
18 additions, 0 deletions
docker/run.sh
with
47 additions
and
0 deletions
docker/Dockerfile
0 → 100644
+
12
−
0
View file @
6c905f21
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"]
This diff is collapsed.
Click to expand it.
docker/keyboard
0 → 100644
+
17
−
0
View file @
6c905f21
# 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"
This diff is collapsed.
Click to expand it.
docker/run.sh
0 → 100755
+
18
−
0
View file @
6c905f21
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment