-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
86 lines (77 loc) · 2.06 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# container and image variables
working_container: 'tmp/dev-wrk'
running_container: 'jo.lab' #changeme
start_script_dest: "~/bin/dev-env"
prompt: ""
base_version: "latest"
base_image: "registry.fedoraproject.org/fedora:{{ base_version }}"
#base_image: "centos/centos:7"
image_name: "jo.dev.f{{ base_version }}" #changeme
image_tag: latest
#base_image: "{{ image_name }}:{{ image_tag }}"
container_user: jeff
container_user_pass: ""
exec_opts:
- "--env COLORTERM=$COLORTERM"
- "--env DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS"
#- "$set_dbus_system_bus_address"
- "--env DESKTOP_SESSION=$DESKTOP_SESSION"
- "--env DISPLAY=$DISPLAY"
- "--env LANG=$LANG"
- "--env PS1=$PS1"
- "--env SHELL=$SHELL"
- "--env SSH_AUTH_SOCK=$SSH_AUTH_SOCK"
- "--env TERM=$TERM"
- "--env VTE_VERSION=$VTE_VERSION"
- "--env XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP"
- "--env XDG_DATA_DIRS=$XDG_DATA_DIRS"
- "--env XDG_MENU_PREFIX=$XDG_MENU_PREFIX"
- "--env XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR"
- "--env XDG_SEAT=$XDG_SEAT"
- "--env XDG_SESSION_DESKTOP=$XDG_SESSION_DESKTOP"
- "--env XDG_SESSION_ID=$XDG_SESSION_ID"
- "--env XDG_SESSION_TYPE=$XDG_SESSION_TYPE"
- "--env XDG_VTNR=$XDG_VTNR"
- "--tty"
- "--interactive"
create_opts:
- "--group-add wheel"
- "--hostname {{ running_container }}"
- "--interactive"
- "--name {{ running_container }}"
- "--network host"
#- "--privileged"
#- "--security-opt label=disable"
- "--tmpfs /dev/shm:size=$tmpfs_size"
- "--tty"
#- "--uidmap $UID:0:1"
#- "--uidmap 0:1:$UID"
#- "--uidmap $uid_plus_one:$uid_plus_one:$max_minus_uid"
- "--volume $HOME:$HOME"
- "--volume $XDG_RUNTIME_DIR:$XDG_RUNTIME_DIR"
#- "--volume $dbus_system_bus_path:$dbus_system_bus_path"
- "--volume /dev/dri:/dev/dri"
# things to install
installs:
- name: golang
state: latest
- name: java-openjdk
state: latest
# - name: java-10-openjdk
# state: latest
- name: java-11-openjdk
state: latest
- name: code
state: latest
- name: make
state: latest
- name: cmake
state: latest
# - name: g++
# state: latest
- name: gcc
state: latest
- name: libX11-xcb
state: latest
- name: which
state: latest