├── README.md
├── Xnretro
├── Dockerfile
└── src
│ ├── apt-source
│ └── startapp.sh
├── comictagger
├── Dockerfile
└── src
│ ├── 000-add-in-config.sh
│ ├── settings
│ └── startapp.sh
├── darktable
├── Dockerfile
└── src
│ ├── excludes
│ ├── rc.xml
│ └── startapp.sh
├── emulator
├── Dockerfile
└── src
│ ├── excludes
│ ├── firstrun.sh
│ ├── supervisord.conf
│ └── xrdp.ini
├── filezilla
├── Dockerfile
└── src
│ ├── excludes
│ └── startapp.sh
├── handbrake-scriptable
├── Dockerfile
└── src
│ ├── convert.sh
│ ├── copy-script.sh
│ ├── excludes
│ ├── inotify.sh
│ └── startapp.sh
├── handbrake
├── Dockerfile
└── src
│ ├── convert.sh
│ ├── copy-script.sh
│ ├── excludes
│ ├── inotify.sh
│ └── startapp.sh
├── kdenlive
├── Dockerfile
└── src
│ └── startapp.sh
├── krusader-x11rdp
├── Dockerfile
└── src
│ ├── excludes
│ └── startapp.sh
├── krusader
├── Dockerfile
└── src
│ ├── excludes
│ └── startapp.sh
├── lxde-libreoffice
├── Dockerfile
├── README.md
└── src
│ ├── desktop-items-0.conf
│ ├── excludes
│ ├── firstrun.sh
│ ├── registrymodifications.xcu
│ ├── supervisord.conf
│ ├── wallpapers
│ ├── Lime.jpg
│ ├── LinuxGreen.png
│ ├── lime-wallpaper.jpg
│ └── linuxwallpaper.jpg
│ └── xrdp.ini
├── mate-calibre
├── Dockerfile
└── src
│ ├── excludes
│ ├── firstrun.sh
│ ├── supervisord.conf
│ └── xrdp.ini
├── mate-gimp
├── Dockerfile
├── README.md
└── src
│ ├── excludes
│ ├── firstrun.sh
│ ├── supervisord.conf
│ ├── wallpapers
│ ├── Lime.jpg
│ ├── LinuxGreen.png
│ └── linuxwallpaper.jpg
│ └── xrdp.ini
├── mate-libreoffice-freerdp
├── Dockerfile
└── src
│ ├── excludes
│ └── freerdp-team-freerdp-trusty.list
├── mate-libreoffice
├── Dockerfile
├── README.md
└── src
│ ├── excludes
│ ├── firstrun.sh
│ ├── registrymodifications.xcu
│ ├── supervisord.conf
│ ├── supervisord.conf-original
│ ├── wallpapers
│ ├── Lime.jpg
│ ├── LinuxGreen.png
│ ├── lime-wallpaper.jpg
│ └── linuxwallpaper.jpg
│ └── xrdp.ini
├── pitivi
├── Dockerfile
└── src
│ └── startapp.sh
├── puddletag
├── Dockerfile
└── src
│ └── startapp.sh
└── shotwell
├── Dockerfile
└── src
└── startapp.sh
/README.md:
--------------------------------------------------------------------------------
1 | Collection of desktops in a docker environment
2 |
--------------------------------------------------------------------------------
/Xnretro/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:x11rdp
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="XnRetro" WIDTH=1420 HEIGHT=840 TERM=xterm LD_LIBRARY_PATH="/nobody/XnRetro/lib"
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # set 32 bit arch
14 | RUN dpkg --add-architecture i386 && \
15 |
16 | # install XnRetro
17 | cd /tmp && \
18 | wget --directory-prefix=/tmp http://download.xnview.com/XnRetro-linux.tgz && \
19 | cd /nobody && \
20 | tar -xvf /tmp/XnRetro-linux.tgz && \
21 | chown -R nobody:users /nobody && \
22 |
23 | # repositories
24 | mv /etc/apt/sources.list /root/sources.list && \
25 | mv /apt-source /etc/apt/sources.list && \
26 |
27 | # install 32 bit dependencies
28 | apt-get update && \
29 | apt-get install -y \
30 | lib32gcc1 \
31 | lib32stdc++6 libc6-i386 \
32 | libfontconfig1:i386 \
33 | libfreetype6:i386 \
34 | libglib2.0-0:i386 \
35 | libgstreamer-plugins-base0.10-0:i386 \
36 | libgstreamer0.10-0:i386 \
37 | libice6:i386 \
38 | libjpeg62:i386 \
39 | libpng12-0:i386 \
40 | libqt4-svg:i386 \
41 | libsm6:i386 \
42 | libx11-6:i386 \
43 | libxext6:i386 \
44 | libxml2:i386 \
45 | libxrender1:i386 \
46 | zlib1g:i386 \
47 | lib32z1 \
48 | lib32ncurses5 \
49 | lib32bz2-1.0 \
50 | # and gnome themepack
51 | gnome-themes-standard && \
52 |
53 | # clean up
54 | apt-get clean && \
55 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
56 | /usr/share/man /usr/share/groff /usr/share/info \
57 | /usr/share/lintian /usr/share/linda /var/cache/man && \
58 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
59 | (( find /usr/share/doc -empty|xargs rmdir || true ))
60 |
61 |
62 |
--------------------------------------------------------------------------------
/Xnretro/src/apt-source:
--------------------------------------------------------------------------------
1 | deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted
2 | deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted
3 | deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
4 | deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
5 | deb http://gb.archive.ubuntu.com/ubuntu/ trusty universe
6 | deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty universe
7 | deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates universe
8 | deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates universe
9 | deb http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse
10 | deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse
11 | deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
12 | deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
13 | deb http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
14 | deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
15 | deb http://security.ubuntu.com/ubuntu trusty-security main restricted
16 | deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
17 | deb http://security.ubuntu.com/ubuntu trusty-security universe
18 | deb-src http://security.ubuntu.com/ubuntu trusty-security universe
19 | deb http://security.ubuntu.com/ubuntu trusty-security multiverse
20 | deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
21 |
--------------------------------------------------------------------------------
/Xnretro/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /nobody/XnRetro/XnRetro
3 |
4 |
--------------------------------------------------------------------------------
/comictagger/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:x11rdp1.2
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="ComicTagger" WIDTH=1280 HEIGHT=720 TERM=xterm UNRAR_LIB_PATH="/usr/lib/libunrar.so"
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # update apt and install dependencies
14 | RUN add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty universe multiverse" && \
15 | add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe multiverse" && \
16 | apt-get update -qq && \
17 | apt-get install \
18 | python-dev \
19 | liblcms1-dev \
20 | libtiff5-dev \
21 | libjpeg8-dev \
22 | libjpeg-turbo8-dev \
23 | libjpeg-dev \
24 | cmake \
25 | python-pip \
26 | rar \
27 | unrar -y && \
28 |
29 | # build openjpeg2 support
30 | cd /tmp && \
31 | wget http://downloads.sourceforge.net/project/openjpeg.mirror/2.0.1/openjpeg-2.0.1.tar.gz && \
32 | tar xzvf openjpeg-2.0.1.tar.gz && \
33 | cd openjpeg-2.0.1/ && \
34 | cmake . && \
35 | make && \
36 | make install && \
37 |
38 | # install unrar libraries
39 | cd /tmp && \
40 | wget http://www.rarlab.com/rar/unrarsrc-5.2.7.tar.gz && \
41 | tar -xvf unrarsrc-5.2.7.tar.gz && \
42 | cd unrar && \
43 | make lib && \
44 | make install-lib && \
45 |
46 | # install PIL
47 | ln -s /usr/include/freetype2 /usr/local/include/freetype && \
48 | ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib && \
49 | ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib && \
50 | ln -s /usr/lib/`uname -i`-linux-gnu/liblcms.so /usr/lib && \
51 | ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib && \
52 | pip install PIL --allow-external PIL --allow-unverified PIL && \
53 |
54 |
55 | # install comictagger dependencies and git-core
56 | apt-get update -qq && \
57 | apt-get install \
58 | python-qt4 \
59 | python-bs4 \
60 | git-core -y && \
61 |
62 | # uninstall pil and install pillow dependencies
63 | pip uninstall pil -y && \
64 | apt-get update -qq && \
65 | apt-get install \
66 | liblcms2-dev \
67 | tcl8.6-dev \
68 | tk8.6-dev \
69 | python-tk \
70 | libwebp-dev -y && \
71 |
72 | # install pip packages
73 | pip install natsort PyPDF2 unrar configparser && \
74 | pip install pillow && \
75 |
76 | # fetch comictagger from source
77 | cd /opt && \
78 | git clone https://github.com/davide-romanini/comictagger.git && \
79 |
80 | # set additional config files
81 | mv /000-add-in-config.sh /etc/my_init.d/000-add-in-config.sh && \
82 | chmod +x /etc/my_init.d/000-add-in-config.sh && \
83 |
84 | # clean up
85 | apt-get clean && \
86 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
87 |
88 |
--------------------------------------------------------------------------------
/comictagger/src/000-add-in-config.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | mkdir -p /nobody/.ComicTagger
3 | if [ -f "/nobody/.ComicTagger/settings" ]; then
4 | echo "settings file in place"
5 | else
6 | cp /settings /nobody/.ComicTagger/settings
7 | fi
8 | # sanitize COMICCODE for white space
9 | SANEDCOMICCODE0=$COMICCODE
10 | SANEDCOMICCODE1="${SANEDCOMICCODE0#"${SANEDCOMICCODE0%%[![:space:]]*}"}"
11 | SANEDCOMICCODE="${SANEDCOMICCODE1%"${SANEDCOMICCODE1##*[![:space:]]}"}"
12 | sed -i -e "s@cv_api_key.*@cv_api_key = ${SANEDCOMICCODE}@g" /nobody/.ComicTagger/settings
13 | chown nobody:users /nobody/.ComicTagger/settings
14 |
--------------------------------------------------------------------------------
/comictagger/src/settings:
--------------------------------------------------------------------------------
1 | [settings]
2 | check_for_new_version = True
3 | rar_exe_path = /usr/bin/rar
4 | unrar_exe_path = /usr/bin/unrar
5 | send_usage_stats = False
6 |
7 | [auto]
8 | install_id = 043b8d88978c4b7fbd6867902f00b9fd
9 | last_selected_load_data_style = 0
10 | last_selected_save_data_style = 0
11 | last_opened_folder =
12 | last_main_window_width = 0
13 | last_main_window_height = 0
14 | last_main_window_x = 0
15 | last_main_window_y = 0
16 | last_form_side_width = -1
17 | last_list_side_width = -1
18 | last_filelist_sorted_column = -1
19 | last_filelist_sorted_order = 0
20 |
21 | [identifier]
22 | id_length_delta_thresh = 5
23 | id_publisher_blacklist = Panini Comics, Abril, Planeta DeAgostini, Editorial Televisa
24 |
25 | [dialogflags]
26 | ask_about_cbi_in_rar = True
27 | show_disclaimer = False
28 | dont_notify_about_this_version =
29 | ask_about_usage_stats = False
30 | show_no_unrar_warning = True
31 |
32 | [filenameparser]
33 | parse_scan_info = True
34 |
35 | [comicvine]
36 | use_series_start_as_volume = False
37 | clear_form_before_populating_from_cv = False
38 | remove_html_tables = False
39 | cv_api_key =
40 |
41 | [cbl_transform]
42 | assume_lone_credit_is_primary = False
43 | copy_characters_to_tags = False
44 | copy_teams_to_tags = False
45 | copy_locations_to_tags = False
46 | copy_storyarcs_to_tags = False
47 | copy_notes_to_comments = False
48 | copy_weblink_to_comments = False
49 | apply_cbl_transform_on_cv_import = False
50 | apply_cbl_transform_on_bulk_operation = False
51 |
52 | [rename]
53 | rename_template = %series% #%issue% (%year%)
54 | rename_issue_number_padding = 3
55 | rename_use_smart_string_cleanup = True
56 | rename_extension_based_on_archive = True
57 |
58 | [autotag]
59 | save_on_low_confidence = False
60 | dont_use_year_when_identifying = False
61 | assume_1_if_no_issue_num = False
62 | ignore_leading_numbers_in_filename = False
63 | remove_archive_after_successful_match = False
64 | wait_and_retry_on_rate_limit = False
65 |
--------------------------------------------------------------------------------
/comictagger/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /opt/comictagger/comictagger.py
3 |
--------------------------------------------------------------------------------
/darktable/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:x11rdp
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="DarkTable" WIDTH=1420 HEIGHT=840 TERM=xterm
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # start files and config etc....
14 | RUN mv /rc.xml /nobody/.config/openbox/rc.xml && \
15 |
16 | # repositories
17 | echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
18 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
19 | add-apt-repository ppa:pmjdebruijn/darktable-release && \
20 |
21 | # update apt and install dependencies
22 | mv /excludes /etc/dpkg/dpkg.cfg.d/excludes && \
23 | apt-get update && \
24 | apt-get install -qy \
25 | darktable && \
26 |
27 | # clean up
28 | apt-get clean && \
29 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
30 | /usr/share/man /usr/share/groff /usr/share/info \
31 | /usr/share/lintian /usr/share/linda /var/cache/man && \
32 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
33 | (( find /usr/share/doc -empty|xargs rmdir || true ))
34 |
35 |
--------------------------------------------------------------------------------
/darktable/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
--------------------------------------------------------------------------------
/darktable/src/rc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
8 |
9 |
10 | 10
11 | 20
12 |
13 |
14 |
15 | yes
16 |
18 | no
19 |
20 | yes
21 |
23 | no
24 |
25 | 200
26 |
28 | no
29 |
31 |
32 |
33 |
34 | Smart
35 |
36 | yes
37 |
39 | Primary
40 |
43 | 1
44 |
49 |
50 |
51 |
52 | Clearlooks
53 | NLIMC
54 |
64 | yes
65 | yes
66 |
67 | sans
68 | 8
69 |
70 | bold
71 |
72 | normal
73 |
74 |
75 |
76 | sans
77 | 8
78 |
79 | bold
80 |
81 | normal
82 |
83 |
84 |
85 | sans
86 | 9
87 |
88 | normal
89 |
90 | normal
91 |
92 |
93 |
94 | sans
95 | 9
96 |
97 | normal
98 |
99 | normal
100 |
101 |
102 |
103 | sans
104 | 9
105 |
106 | bold
107 |
108 | normal
109 |
110 |
111 |
112 | sans
113 | 9
114 |
115 | bold
116 |
117 | normal
118 |
119 |
120 |
121 |
122 |
123 |
131 | 1
132 | 1
133 |
134 |
138 |
139 | 875
140 |
142 |
143 |
144 |
145 | yes
146 | Nonpixel
147 |
148 | Center
149 |
150 |
151 |
152 |
153 | 10
154 |
156 | 10
157 |
159 |
160 |
161 |
162 |
166 |
167 | 0
168 | 0
169 | 0
170 | 0
171 |
172 |
173 |
174 | TopLeft
175 |
176 | 0
177 | 0
178 | no
179 | Above
180 |
181 | Vertical
182 |
183 | no
184 | 300
185 |
186 | 300
187 |
188 | Middle
189 |
190 |
191 |
192 |
193 | C-g
194 |
195 |
196 |
197 | leftno
198 |
199 |
200 | rightno
201 |
202 |
203 | upno
204 |
205 |
206 | downno
207 |
208 |
209 | leftno
210 |
211 |
212 | rightno
213 |
214 |
215 | upno
216 |
217 |
218 | downno
219 |
220 |
221 | 1
222 |
223 |
224 | 2
225 |
226 |
227 | 3
228 |
229 |
230 | 4
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 | gnome-screenshot -w
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 | yesyes
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 | right
290 |
291 |
292 |
293 |
294 | left
295 |
296 |
297 |
298 |
299 | up
300 |
301 |
302 |
303 |
304 | down
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 | true
313 | Konqueror
314 |
315 | kfmclient openProfile filemanagement
316 |
317 |
318 |
319 |
320 | gnome-screenshot
321 |
322 |
323 |
324 |
325 | 1
326 |
327 | 500
328 |
329 | 400
330 |
333 | false
334 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 | previous
366 |
367 |
368 | next
369 |
370 |
371 | previous
372 |
373 |
374 | next
375 |
376 |
377 | previous
378 |
379 |
380 | next
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
391 |
392 |
393 |
394 | no
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
403 |
404 |
405 | yes
406 |
407 |
408 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
416 |
417 |
418 |
419 |
420 |
421 |
422 |
423 |
424 |
425 |
426 |
427 |
428 |
429 |
430 |
431 | top
432 |
433 |
434 |
435 |
436 |
437 | left
438 |
439 |
440 |
441 |
442 |
443 | right
444 |
445 |
446 |
447 |
448 |
449 | bottom
450 |
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 |
466 |
467 |
468 |
469 |
470 |
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
492 |
493 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
517 |
518 |
519 |
520 |
521 |
522 |
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 |
536 |
537 |
538 |
539 |
540 | vertical
541 |
542 |
543 | horizontal
544 |
545 |
546 |
547 |
548 |
549 |
550 |
551 |
552 |
553 |
554 |
555 |
556 |
557 |
558 |
559 |
560 | previous
561 |
562 |
563 | next
564 |
565 |
566 |
567 | previous
568 |
569 |
570 | next
571 |
572 |
573 | previous
574 |
575 |
576 | next
577 |
578 |
579 |
580 |
581 |
582 |
583 |
584 |
585 |
586 |
587 |
588 |
589 |
590 |
591 |
592 |
593 |
594 |
595 | previous
596 |
597 |
598 | next
599 |
600 |
601 | previous
602 |
603 |
604 | next
605 |
606 |
607 |
608 |
609 |
637 |
638 |
639 |
733 |
734 | no
735 | true
736 |
737 |
738 |
739 |
740 |
--------------------------------------------------------------------------------
/darktable/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/darktable
3 |
4 |
--------------------------------------------------------------------------------
/emulator/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM phusion/baseimage:0.9.16
2 | ENV DEBIAN_FRONTEND noninteractive
3 | # Set correct environment variables
4 | ENV HOME /root
5 | ENV TERM xterm
6 | # Use baseimage-docker's init system
7 | CMD ["/sbin/my_init"]
8 |
9 | # Add local files
10 | ADD src/ /root/
11 |
12 | # set workdir
13 | WORKDIR /
14 |
15 | # Expose ports
16 | EXPOSE 6080
17 | EXPOSE 5900
18 | EXPOSE 3389
19 |
20 | # set startup file
21 | RUN mv /root/firstrun.sh /etc/my_init.d/firstrun.sh && \
22 | chmod +x /etc/my_init.d/firstrun.sh && \
23 |
24 | # update apt and install dependencies
25 | mv /root/excludes /etc/dpkg/dpkg.cfg.d/excludes && \
26 | apt-add-repository ppa:ubuntu-mate-dev/ppa && \
27 | apt-add-repository ppa:ubuntu-mate-dev/trusty-mate && \
28 | apt-get update && \
29 | apt-get install \
30 | xrdp \
31 | wget \
32 | openjdk-7-jre supervisor \
33 | sudo \
34 | nano \
35 | net-tools \
36 | x11vnc \
37 | xvfb \
38 | mate-desktop-environment-core \
39 | fceux -qy && \
40 |
41 | # create ubuntu user
42 | useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu && \
43 | echo "ubuntu:PASSWD" | chpasswd && \
44 |
45 | # set user ubuntu to same uid and guid as nobody:users in unraid
46 | usermod -u 99 ubuntu && \
47 | usermod -g 100 ubuntu && \
48 |
49 |
50 | # swap in modified xrdp.ini
51 | mv /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.original && \
52 | mv /root/xrdp.ini /etc/xrdp/xrdp.ini && \
53 | chown root:root /etc/xrdp/xrdp.ini && \
54 |
55 | # clean up
56 | apt-get clean && \
57 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
58 | /usr/share/man /usr/share/groff /usr/share/info \
59 | /usr/share/lintian /usr/share/linda /var/cache/man && \
60 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
61 | (( find /usr/share/doc -empty|xargs rmdir || true ))
62 |
--------------------------------------------------------------------------------
/emulator/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/emulator/src/firstrun.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | if [[ $(cat /etc/timezone) != $TZ ]] ; then
4 | echo "$TZ" > /etc/timezone
5 | dpkg-reconfigure -f noninteractive tzdata
6 | fi
7 |
8 | mkdir -p /home/ubuntu/roms
9 | chown -R ubuntu:users /home/ubuntu/
10 | mkdir /var/run/sshd
11 | mkdir /root/.vnc
12 | /usr/bin/supervisord -c /root/supervisord.conf
13 | while [ 1 ]; do
14 | /bin/bash
15 | done
16 |
--------------------------------------------------------------------------------
/emulator/src/supervisord.conf:
--------------------------------------------------------------------------------
1 | [supervisord]
2 | nodaemon=false
3 |
4 | [program:xvfb]
5 | priority=10
6 | directory=/
7 | command=/usr/bin/Xvfb :1 -screen 0 1700x950x16
8 | user=root
9 | autostart=true
10 | autorestart=true
11 | stopsignal=QUIT
12 | stdout_logfile=/var/log/xvfb.log
13 | stderr_logfile=/var/log/xvfb.err
14 |
15 | [program:matesession]
16 | priority=15
17 | directory=/home/ubuntu
18 | command=/usr/bin/mate-session
19 | user=ubuntu
20 | autostart=true
21 | autorestart=true
22 | stopsignal=QUIT
23 | environment=DISPLAY=":1",HOME="/home/ubuntu"
24 | stdout_logfile=/var/log/lxsession.log
25 | stderr_logfile=/var/log/lxsession.err
26 |
27 | [program:x11vnc]
28 | priority=20
29 | directory=/
30 | command=x11vnc -display :1 -xkb
31 | #command=x11vnc -display :1 -listen localhost -xkb
32 | user=root
33 | autostart=true
34 | autorestart=true
35 | stopsignal=QUIT
36 | stdout_logfile=/var/log/x11vnc.log
37 | stderr_logfile=/var/log/x11vnc.err
38 |
39 | [program:xrdp]
40 | priority=30
41 | command=/usr/sbin/xrdp -nodaemon
42 | process_name = xrdp
43 | user=root
44 | stdout_logfile=/var/log/xrdp.log
45 | stderr_logfile=/var/log/xrdp.err
46 |
47 | [program:xrdp-sesman]
48 | priority=35
49 | command=/usr/sbin/xrdp-sesman --nodaemon
50 | process_name = xrdp-sesman
51 | user=root
52 | stdout_logfile=/var/log/xrdp-sesman.log
53 | stderr_logfile=/var/log/xrdp-sesman.err
54 |
55 | [program:xrdp]
56 | priority=30
57 | command=/etc/init.d/xrdp start
58 | process_name = xrdp
59 | user=root
60 |
61 |
--------------------------------------------------------------------------------
/emulator/src/xrdp.ini:
--------------------------------------------------------------------------------
1 |
2 | [globals]
3 | bitmap_cache=yes
4 | bitmap_compression=yes
5 | port=3389
6 | crypt_level=low
7 | channel_code=1
8 | max_bpp=24
9 | #black=000000
10 | #grey=d6d3ce
11 | #dark_grey=808080
12 | #blue=08246b
13 | #dark_blue=08246b
14 | #white=ffffff
15 | #red=ff0000
16 | #green=00ff00
17 | #background=626c72
18 |
19 | [xrdp1]
20 | name=sesman-Xvnc
21 | lib=libvnc.so
22 | username=ask
23 | password=ask
24 | ip=127.0.0.1
25 | port=-1
26 |
27 | [xrdp2]
28 | name=reconnect-SESS1
29 | lib=libvnc.so
30 | username=ubuntu
31 | password=PASSWD
32 | ip=127.0.0.1
33 | port=5910
34 |
35 | [xrdp3]
36 | name=reconnect-SESS2
37 | lib=libvnc.so
38 | username=ubuntu
39 | password=PASSWD
40 | ip=127.0.0.1
41 | port=5911
42 |
43 | [xrdp4]
44 | name=reconnect-SESS3
45 | lib=libvnc.so
46 | username=ubuntu
47 | password=PASSWD
48 | ip=127.0.0.1
49 | port=5912
50 |
51 | [xrdp4]
52 | name=reconnect-SESS4
53 | lib=libvnc.so
54 | username=ubuntu
55 | password=PASSWD
56 | ip=127.0.0.1
57 | port=5913
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/filezilla/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:xvnc
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="FileZilla" WIDTH=1280 HEIGHT=720 TERM=xterm
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # repositories
14 | RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
15 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
16 | add-apt-repository ppa:ubuntu-toolchain-r/test && \
17 |
18 | # install dependencies
19 | apt-get update && \
20 | apt-get install \
21 | libnotify.bin \
22 | libstdc++6 \
23 | gnome-themes-standard -y && \
24 | mkdir -p /nobody/FileZilla3 && \
25 | curl -o /tmp/filezilla.tar.bz2 -L https://sourceforge.net/projects/filezilla/files/FileZilla_Client/3.21.0/FileZilla_3.21.0_x86_64-linux-gnu.tar.bz2 && \
26 | tar xvf /tmp/filezilla.tar.bz2 -C /nobody/FileZilla3 --strip-components=1 && \
27 | chown -R nobody:users /nobody && \
28 |
29 | # clean up
30 | apt-get clean && \
31 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
32 | /usr/share/man /usr/share/groff /usr/share/info \
33 | /usr/share/lintian /usr/share/linda /var/cache/man && \
34 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
35 | (( find /usr/share/doc -empty|xargs rmdir || true ))
36 |
37 |
--------------------------------------------------------------------------------
/filezilla/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/filezilla/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /nobody/FileZilla3/bin/filezilla
3 |
--------------------------------------------------------------------------------
/handbrake-scriptable/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:xvnc
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="HandBrake" WIDTH=1280 HEIGHT=720 TERM=xterm
6 | # Use baseimage-docker's init system
7 | CMD ["/sbin/my_init"]
8 |
9 | # Add local files
10 | ADD src/ /
11 |
12 | # startup file
13 | RUN mkdir /etc/service/inotify && \
14 | mv /inotify.sh /etc/service/inotify/run && \
15 | chmod +x /etc/service/inotify/run && \
16 | mv /copy-script.sh /etc/my_init.d/copy-script.sh && \
17 | chmod +x /etc/my_init.d/copy-script.sh && \
18 |
19 | # repositories
20 | echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
21 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
22 | add-apt-repository ppa:stebbins/handbrake-releases && \
23 |
24 | # update apt and install dependencies
25 | mv /excludes /etc/dpkg/dpkg.cfg.d/excludes && \
26 | apt-get update && \
27 | apt-get install -qy \
28 | handbrake-gtk \
29 | handbrake-cli \
30 | gnome-themes-standard \
31 | inotify-tools && \
32 |
33 | # clean up
34 | apt-get clean && \
35 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
36 | /usr/share/man /usr/share/groff /usr/share/info \
37 | /usr/share/lintian /usr/share/linda /var/cache/man && \
38 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
39 | (( find /usr/share/doc -empty|xargs rmdir || true ))
40 |
--------------------------------------------------------------------------------
/handbrake-scriptable/src/convert.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | ########### EDITABLE VARIABLES ##########
4 |
5 | DEST_EXT=mp4
6 | PRESET=Ipad
7 |
8 | #########################################
9 |
10 |
11 |
12 | ##### DO NOT CHANGE ANYTHING BELOW HERE ###############
13 |
14 | SRC=/watch-folder
15 | DEST=/Output
16 | HANDBRAKE_CLI=HandBrakeCLI
17 |
18 |
19 |
20 | IFS=$(echo -en "\n\b")
21 | for FILE in `ls $SRC`
22 | do
23 | filename=$(basename $FILE)
24 | extension=${filename##*.}
25 | filename=${filename%.*}
26 |
27 | $HANDBRAKE_CLI -i $SRC/$FILE -o $DEST/$filename.$DEST_EXT --preset $PRESET
28 |
29 | chown nobody:users $DEST/$filename.$DEST_EXT
30 |
31 | done
32 |
--------------------------------------------------------------------------------
/handbrake-scriptable/src/copy-script.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | chown -R nobody:users /script
3 | if [ -f "/script/convert.sh" ]; then
4 | echo "using existing script, may require editing"
5 | chown -R nobody:users /script
6 | chmod +x /script/convert.sh
7 | else
8 | cp /convert.sh /script/convert.sh
9 | chmod +x /script/convert.sh
10 | chown -R nobody:users /script
11 | fi
12 |
--------------------------------------------------------------------------------
/handbrake-scriptable/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/handbrake-scriptable/src/inotify.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | while inotifywait -r -e create /watch-folder; do
3 | /bin/bash /script/convert.sh
4 | echo "Converting file(s)"
5 | done
6 |
--------------------------------------------------------------------------------
/handbrake-scriptable/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/ghb
3 |
--------------------------------------------------------------------------------
/handbrake/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:xvnc
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="HandBrake" WIDTH=1280 HEIGHT=720 TERM=xterm
6 | # Use baseimage-docker's init system
7 | CMD ["/sbin/my_init"]
8 |
9 | # Add local files
10 | ADD src/ /
11 |
12 | # startup file
13 | RUN mkdir /etc/service/inotify && \
14 | mv /inotify.sh /etc/service/inotify/run && \
15 | chmod +x /etc/service/inotify/run && \
16 | mv /copy-script.sh /etc/my_init.d/copy-script.sh && \
17 | chmod +x /etc/my_init.d/copy-script.sh && \
18 |
19 | # repositories
20 | echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
21 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
22 | add-apt-repository ppa:stebbins/handbrake-releases && \
23 |
24 | # update apt and install dependencies
25 | mv /excludes /etc/dpkg/dpkg.cfg.d/excludes && \
26 | apt-get update && \
27 | apt-get install -qy \
28 | handbrake-gtk \
29 | handbrake-cli \
30 | gnome-themes-standard \
31 | inotify-tools && \
32 |
33 | # clean up
34 | apt-get clean && \
35 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
36 | /usr/share/man /usr/share/groff /usr/share/info \
37 | /usr/share/lintian /usr/share/linda /var/cache/man && \
38 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
39 | (( find /usr/share/doc -empty|xargs rmdir || true ))
40 |
--------------------------------------------------------------------------------
/handbrake/src/convert.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | ########### EDITABLE VARIABLES ##########
4 |
5 | DEST_EXT=mp4
6 | PRESET=Ipad
7 |
8 | #########################################
9 |
10 |
11 |
12 | ##### DO NOT CHANGE ANYTHING BELOW HERE ###############
13 |
14 | SRC=/nobody/.config/ghb/Watch-Folder
15 | DEST=/Output
16 | HANDBRAKE_CLI=HandBrakeCLI
17 |
18 |
19 |
20 | IFS=$(echo -en "\n\b")
21 | for FILE in `ls $SRC`
22 | do
23 | filename=$(basename $FILE)
24 | extension=${filename##*.}
25 | filename=${filename%.*}
26 |
27 | $HANDBRAKE_CLI -i $SRC/$FILE -o $DEST/$filename.$DEST_EXT --preset $PRESET
28 |
29 | chown nobody:users $DEST/$filename.$DEST_EXT
30 |
31 | done
32 |
--------------------------------------------------------------------------------
/handbrake/src/copy-script.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | mkdir -p /nobody/.config/ghb/Convert-Script /nobody/.config/ghb/Watch-Folder
3 | chown -R nobody:users /nobody/.config/ghb
4 | if [ -f "/nobody/.config/ghb/Convert-Script/convert.sh" ]; then
5 | echo "using existing script, may require editing"
6 | chown -R nobody:users /nobody/.config/ghb
7 | chmod +x /nobody/.config/ghb/Convert-Script/convert.sh
8 | else
9 | cp /convert.sh /nobody/.config/ghb/Convert-Script/convert.sh
10 | chmod +x /nobody/.config/ghb/Convert-Script/convert.sh
11 | chown -R nobody:users /nobody/.config/ghb
12 | fi
13 |
--------------------------------------------------------------------------------
/handbrake/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/handbrake/src/inotify.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | while inotifywait -r -e create,moved_to /nobody/.config/ghb/Watch-Folder; do
3 | /bin/bash /nobody/.config/ghb/Convert-Script/convert.sh
4 | echo "Converting file(s)"
5 | done
6 |
--------------------------------------------------------------------------------
/handbrake/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/ghb
3 |
--------------------------------------------------------------------------------
/kdenlive/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:x11rdp1.2
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="Kdenlive" WIDTH=1280 HEIGHT=720 TERM=xterm
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # repositories
14 | RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
15 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
16 |
17 | # install dependencies
18 | apt-get update && \
19 | apt-get install -y \
20 | kdenlive \
21 | gxine && \
22 |
23 | # clean up
24 | apt-get clean && \
25 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
26 | /usr/share/man /usr/share/groff /usr/share/info \
27 | /usr/share/lintian /usr/share/linda /var/cache/man && \
28 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
29 | (( find /usr/share/doc -empty|xargs rmdir || true ))
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/kdenlive/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/kdenlive
3 |
--------------------------------------------------------------------------------
/krusader-x11rdp/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:x11rdp1.2
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="Krusader" WIDTH=1280 HEIGHT=720 TERM=xterm
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # repositories
14 | RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
15 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
16 | add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty universe multiverse" && \
17 | add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe multiverse" && \
18 |
19 | # install dependencies
20 | apt-get update && \
21 | apt-get install --no-install-recommends -y krusader && \
22 | apt-get install -y cfv kdiff3 locate md5deep konsole krename kget unace lhasa unrar zip p7zip-full rar && \
23 |
24 | # clean up
25 | apt-get clean && \
26 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
27 | /usr/share/man /usr/share/groff /usr/share/info \
28 | /usr/share/lintian /usr/share/linda /var/cache/man && \
29 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
30 | (( find /usr/share/doc -empty|xargs rmdir || true ))
31 |
--------------------------------------------------------------------------------
/krusader-x11rdp/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/krusader-x11rdp/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/krusader
3 |
--------------------------------------------------------------------------------
/krusader/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:x11rdp1.2
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="Krusader" WIDTH=1280 HEIGHT=720 TERM=xterm
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # repositories
14 | RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
15 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
16 | add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty universe multiverse" && \
17 | add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe multiverse" && \
18 |
19 | # install dependencies
20 | apt-get update && \
21 | apt-get install --no-install-recommends -y krusader && \
22 | apt-get install -y cfv kdiff3 locate md5deep konsole krename kget unace lhasa unrar zip p7zip-full rar && \
23 |
24 | # clean up
25 | apt-get clean && \
26 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
27 | /usr/share/man /usr/share/groff /usr/share/info \
28 | /usr/share/lintian /usr/share/linda /var/cache/man && \
29 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
30 | (( find /usr/share/doc -empty|xargs rmdir || true ))
31 |
--------------------------------------------------------------------------------
/krusader/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/krusader/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/krusader
3 |
--------------------------------------------------------------------------------
/lxde-libreoffice/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM phusion/baseimage:0.9.16
2 | ENV DEBIAN_FRONTEND noninteractive
3 | # Set correct environment variables
4 | ENV HOME /root
5 | ENV TERM xterm
6 | # Use baseimage-docker's init system
7 | CMD ["/sbin/my_init"]
8 |
9 | # Add local files
10 | ADD src/ /root/
11 |
12 | # set workdir
13 | WORKDIR /
14 |
15 | # Expose ports
16 | EXPOSE 6080
17 | EXPOSE 5900
18 | EXPOSE 3389
19 |
20 | # set startup file
21 | RUN mv /root/firstrun.sh /etc/my_init.d/firstrun.sh && \
22 | chmod +x /etc/my_init.d/firstrun.sh && \
23 |
24 | # update apt and install dependencies
25 | mv /root/excludes /etc/dpkg/dpkg.cfg.d/excludes && \
26 | apt-get update && \
27 | apt-get install -y --force-yes --no-install-recommends wget openjdk-7-jre supervisor sudo nano net-tools lxde x11vnc xvfb gtk2-engines-murrine ttf-ubuntu-font-family && \
28 | apt-get install -y xrdp libreoffice && \
29 |
30 |
31 | # create ubuntu user
32 | useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu && \
33 | echo "ubuntu:PASSWD" | chpasswd && \
34 |
35 | # set user ubuntu to same uid and guid as nobody:users in unraid
36 | usermod -u 99 ubuntu && \
37 | usermod -g 100 ubuntu && \
38 |
39 |
40 | # swap in modified xrdp.ini
41 | mv /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.original && \
42 | mv /root/xrdp.ini /etc/xrdp/xrdp.ini && \
43 | chown root:root /etc/xrdp/xrdp.ini && \
44 |
45 | # clean up
46 | apt-get clean && \
47 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
48 | /usr/share/man /usr/share/groff /usr/share/info \
49 | /usr/share/lintian /usr/share/linda /var/cache/man && \
50 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
51 | (( find /usr/share/doc -empty|xargs rmdir || true ))
52 |
--------------------------------------------------------------------------------
/lxde-libreoffice/README.md:
--------------------------------------------------------------------------------
1 | Desktop in a box with libreoffice, hits CPU fairly hard.
2 | Output folder is /home/ubuntu/unraid. user/password is ubuntu:PASSWD (case sensitive).
3 | Once you have logged in and as long as you don't logout again you can resume a session by selecting it from the login dropdown.
4 | There are some wallpapers in /home/ubuntu/unraid/wallpapers.
5 |
--------------------------------------------------------------------------------
/lxde-libreoffice/src/desktop-items-0.conf:
--------------------------------------------------------------------------------
1 | [*]
2 | wallpaper_mode=stretch
3 | wallpaper_common=1
4 | wallpaper=/home/ubuntu/unraid/wallpapers/lime-wallpaper.jpg
5 | desktop_bg=#000000
6 | desktop_fg=#ffffff
7 | desktop_shadow=#000000
8 | desktop_font=Sans 12
9 | show_wm_menu=0
10 | sort=mtime;ascending;mingle;
11 | show_documents=0
12 | show_trash=0
13 | show_mounts=0
14 |
15 |
--------------------------------------------------------------------------------
/lxde-libreoffice/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/lxde-libreoffice/src/firstrun.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | if [[ $(cat /etc/timezone) != $TZ ]] ; then
4 | echo "$TZ" > /etc/timezone
5 | dpkg-reconfigure -f noninteractive tzdata
6 | fi
7 |
8 | mkdir -p /home/ubuntu/unraid
9 | mkdir -p /home/ubuntu/.config/libreoffice/4/user
10 | mkdir -p /home/ubuntu/.config/pcmanfm/LXDE
11 | if [ -d "/home/ubuntu/unraid/wallpapers" ]; then
12 | echo "using existing wallpapers etc..."
13 | else
14 | mkdir -p /home/ubuntu/unraid/wallpapers
15 | cp /root/wallpapers/* /home/ubuntu/unraid/wallpapers/
16 | mv /root/desktop-items-0.conf /home/ubuntu/.config/pcmanfm/LXDE/desktop-items-0.conf
17 | chown ubuntu:users /home/ubuntu/.config/pcmanfm/LXDE/desktop-items-0.conf
18 | chmod 644 /home/ubuntu/.config/pcmanfm/LXDE/desktop-items-0.conf
19 | fi
20 |
21 | if [ -f "/home/ubuntu/.config/libreoffice/4/user/registrymodifications.xcu" ]; then
22 | echo "using existing libreoffice settings file"
23 | else
24 | cp /root/registrymodifications.xcu /home/ubuntu/.config/libreoffice/4/user/
25 | chown -R ubuntu:users /home/ubuntu/
26 | chmod -R 755 /home/ubuntu/.config/libreoffice
27 | chmod 600 /home/ubuntu/.config/libreoffice/4/user/registrymodifications.xcu
28 | fi
29 |
30 | mkdir /var/run/sshd
31 | mkdir /root/.vnc
32 | /usr/bin/supervisord -c /root/supervisord.conf
33 | while [ 1 ]; do
34 | /bin/bash
35 | done
36 |
--------------------------------------------------------------------------------
/lxde-libreoffice/src/registrymodifications.xcu:
--------------------------------------------------------------------------------
1 |
2 |
3 | - false
4 |
5 | - true
6 | - $(work)/unraid
7 | - false
8 | - 323,92,,;;,,,;
9 | - 102;1
10 | - en-US
11 | - 57,25,1165,579;1;0,0,0,0;
12 | - 420m0(Build:2)
13 | - false
14 | - true
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/lxde-libreoffice/src/supervisord.conf:
--------------------------------------------------------------------------------
1 | [supervisord]
2 | nodaemon=false
3 |
4 | [program:xvfb]
5 | priority=10
6 | directory=/
7 | command=/usr/bin/Xvfb :1 -screen 0 1700x950x16
8 | user=root
9 | autostart=true
10 | autorestart=true
11 | stopsignal=QUIT
12 | stdout_logfile=/var/log/xvfb.log
13 | stderr_logfile=/var/log/xvfb.err
14 |
15 | [program:lxsession]
16 | priority=15
17 | directory=/home/ubuntu
18 | command=/usr/bin/lxsession
19 | user=ubuntu
20 | autostart=true
21 | autorestart=true
22 | stopsignal=QUIT
23 | environment=DISPLAY=":1",HOME="/home/ubuntu"
24 | stdout_logfile=/var/log/lxsession.log
25 | stderr_logfile=/var/log/lxsession.err
26 |
27 | [program:x11vnc]
28 | priority=20
29 | directory=/
30 | command=x11vnc -display :1 -xkb
31 | #command=x11vnc -display :1 -listen localhost -xkb
32 | user=root
33 | autostart=true
34 | autorestart=true
35 | stopsignal=QUIT
36 | stdout_logfile=/var/log/x11vnc.log
37 | stderr_logfile=/var/log/x11vnc.err
38 |
39 | [program:xrdp]
40 | priority=30
41 | command=/usr/sbin/xrdp -nodaemon
42 | process_name = xrdp
43 | user=root
44 | stdout_logfile=/var/log/xrdp.log
45 | stderr_logfile=/var/log/xrdp.err
46 |
47 | [program:xrdp-sesman]
48 | priority=35
49 | command=/usr/sbin/xrdp-sesman --nodaemon
50 | process_name = xrdp-sesman
51 | user=root
52 | stdout_logfile=/var/log/xrdp-sesman.log
53 | stderr_logfile=/var/log/xrdp-sesman.err
54 |
55 | [program:xrdp]
56 | priority=30
57 | command=/etc/init.d/xrdp start
58 | process_name = xrdp
59 | user=root
60 |
61 |
--------------------------------------------------------------------------------
/lxde-libreoffice/src/wallpapers/Lime.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/lxde-libreoffice/src/wallpapers/Lime.jpg
--------------------------------------------------------------------------------
/lxde-libreoffice/src/wallpapers/LinuxGreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/lxde-libreoffice/src/wallpapers/LinuxGreen.png
--------------------------------------------------------------------------------
/lxde-libreoffice/src/wallpapers/lime-wallpaper.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/lxde-libreoffice/src/wallpapers/lime-wallpaper.jpg
--------------------------------------------------------------------------------
/lxde-libreoffice/src/wallpapers/linuxwallpaper.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/lxde-libreoffice/src/wallpapers/linuxwallpaper.jpg
--------------------------------------------------------------------------------
/lxde-libreoffice/src/xrdp.ini:
--------------------------------------------------------------------------------
1 |
2 | [globals]
3 | bitmap_cache=yes
4 | bitmap_compression=yes
5 | port=3389
6 | crypt_level=low
7 | channel_code=1
8 | max_bpp=24
9 | #black=000000
10 | #grey=d6d3ce
11 | #dark_grey=808080
12 | #blue=08246b
13 | #dark_blue=08246b
14 | #white=ffffff
15 | #red=ff0000
16 | #green=00ff00
17 | #background=626c72
18 |
19 | [xrdp1]
20 | name=sesman-Xvnc
21 | lib=libvnc.so
22 | username=ask
23 | password=ask
24 | ip=127.0.0.1
25 | port=-1
26 |
27 | [xrdp2]
28 | name=reconnect-SESS1
29 | lib=libvnc.so
30 | username=ubuntu
31 | password=PASSWD
32 | ip=127.0.0.1
33 | port=5910
34 |
35 | [xrdp3]
36 | name=reconnect-SESS2
37 | lib=libvnc.so
38 | username=ubuntu
39 | password=PASSWD
40 | ip=127.0.0.1
41 | port=5911
42 |
43 | [xrdp4]
44 | name=reconnect-SESS3
45 | lib=libvnc.so
46 | username=ubuntu
47 | password=PASSWD
48 | ip=127.0.0.1
49 | port=5912
50 |
51 | [xrdp4]
52 | name=reconnect-SESS4
53 | lib=libvnc.so
54 | username=ubuntu
55 | password=PASSWD
56 | ip=127.0.0.1
57 | port=5913
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/mate-calibre/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM phusion/baseimage:0.9.16
2 | ENV DEBIAN_FRONTEND noninteractive
3 | # Set correct environment variables
4 | ENV HOME /root
5 | ENV TERM xterm
6 | # Use baseimage-docker's init system
7 | CMD ["/sbin/my_init"]
8 |
9 | # Add local files
10 | ADD src/ /root/
11 |
12 | # set workdir
13 | WORKDIR /
14 |
15 | # Expose ports
16 | EXPOSE 6080
17 | EXPOSE 5900
18 | EXPOSE 3389
19 |
20 | # set startup file
21 | RUN mv /root/firstrun.sh /etc/my_init.d/firstrun.sh && \
22 | chmod +x /etc/my_init.d/firstrun.sh && \
23 |
24 | # update apt and install dependencies
25 | mv /root/excludes /etc/dpkg/dpkg.cfg.d/excludes && \
26 | apt-add-repository ppa:ubuntu-mate-dev/ppa && \
27 | apt-add-repository ppa:ubuntu-mate-dev/trusty-mate && \
28 | apt-get update && \
29 | apt-get install -y --force-yes --no-install-recommends xdg-utils python wget openjdk-7-jre supervisor sudo nano net-tools mate-desktop-environment-core x11vnc xvfb gtk2-engines-murrine ttf-ubuntu-font-family && \
30 | apt-get install -y xrdp && \
31 |
32 | # create ubuntu user
33 | useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu && \
34 | echo "ubuntu:PASSWD" | chpasswd && \
35 |
36 | # set user ubuntu to same uid and guid as nobody:users in unraid
37 | usermod -u 99 ubuntu && \
38 | usermod -g 100 ubuntu && \
39 |
40 | # fetch and install calibre to /home/ubuntu
41 | wget --no-check-certificate -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | python -c "import sys; main=lambda x,y:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('/home/ubuntu/', True)" && \
42 |
43 |
44 | # swap in modified xrdp.ini
45 | mv /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.original && \
46 | mv /root/xrdp.ini /etc/xrdp/xrdp.ini && \
47 | chown root:root /etc/xrdp/xrdp.ini && \
48 |
49 | # clean up
50 | apt-get clean && \
51 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
52 | /usr/share/man /usr/share/groff /usr/share/info \
53 | /usr/share/lintian /usr/share/linda /var/cache/man && \
54 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
55 | (( find /usr/share/doc -empty|xargs rmdir || true ))
56 |
--------------------------------------------------------------------------------
/mate-calibre/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
--------------------------------------------------------------------------------
/mate-calibre/src/firstrun.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | if [[ $(cat /etc/timezone) != $TZ ]] ; then
4 | echo "$TZ" > /etc/timezone
5 | dpkg-reconfigure -f noninteractive tzdata
6 | fi
7 |
8 | mkdir -p /home/ubuntu/unraid
9 |
10 | if [ -d "/home/ubuntu/unraid/wallpapers" ]; then
11 | echo "using existing wallpapers etc..."
12 | else
13 | mkdir -p /home/ubuntu/unraid/wallpapers
14 | cp /root/wallpapers/* /home/ubuntu/unraid/wallpapers/
15 | fi
16 |
17 |
18 | mkdir /var/run/sshd
19 | mkdir /root/.vnc
20 | /usr/bin/supervisord -c /root/supervisord.conf
21 | while [ 1 ]; do
22 | /bin/bash
23 | done
24 |
--------------------------------------------------------------------------------
/mate-calibre/src/supervisord.conf:
--------------------------------------------------------------------------------
1 | [supervisord]
2 | nodaemon=false
3 |
4 | [program:xvfb]
5 | priority=10
6 | directory=/
7 | command=/usr/bin/Xvfb :1 -screen 0 1700x950x16
8 | user=root
9 | autostart=true
10 | autorestart=true
11 | stopsignal=QUIT
12 | stdout_logfile=/var/log/xvfb.log
13 | stderr_logfile=/var/log/xvfb.err
14 |
15 | [program:matesession]
16 | priority=15
17 | directory=/home/ubuntu
18 | command=/usr/bin/mate-session
19 | user=ubuntu
20 | autostart=true
21 | autorestart=true
22 | stopsignal=QUIT
23 | environment=DISPLAY=":1",HOME="/home/ubuntu"
24 | stdout_logfile=/var/log/lxsession.log
25 | stderr_logfile=/var/log/lxsession.err
26 |
27 | [program:x11vnc]
28 | priority=20
29 | directory=/
30 | command=x11vnc -display :1 -xkb
31 | #command=x11vnc -display :1 -listen localhost -xkb
32 | user=root
33 | autostart=true
34 | autorestart=true
35 | stopsignal=QUIT
36 | stdout_logfile=/var/log/x11vnc.log
37 | stderr_logfile=/var/log/x11vnc.err
38 |
39 | [program:xrdp]
40 | priority=30
41 | command=/usr/sbin/xrdp -nodaemon
42 | process_name = xrdp
43 | user=root
44 | stdout_logfile=/var/log/xrdp.log
45 | stderr_logfile=/var/log/xrdp.err
46 |
47 | [program:xrdp-sesman]
48 | priority=35
49 | command=/usr/sbin/xrdp-sesman --nodaemon
50 | process_name = xrdp-sesman
51 | user=root
52 | stdout_logfile=/var/log/xrdp-sesman.log
53 | stderr_logfile=/var/log/xrdp-sesman.err
54 |
55 | [program:xrdp]
56 | priority=30
57 | command=/etc/init.d/xrdp start
58 | process_name = xrdp
59 | user=root
60 |
61 |
--------------------------------------------------------------------------------
/mate-calibre/src/xrdp.ini:
--------------------------------------------------------------------------------
1 |
2 | [globals]
3 | bitmap_cache=yes
4 | bitmap_compression=yes
5 | port=3389
6 | crypt_level=low
7 | channel_code=1
8 | max_bpp=24
9 | #black=000000
10 | #grey=d6d3ce
11 | #dark_grey=808080
12 | #blue=08246b
13 | #dark_blue=08246b
14 | #white=ffffff
15 | #red=ff0000
16 | #green=00ff00
17 | #background=626c72
18 |
19 | [xrdp1]
20 | name=sesman-Xvnc
21 | lib=libvnc.so
22 | username=ask
23 | password=ask
24 | ip=127.0.0.1
25 | port=-1
26 |
27 | [xrdp2]
28 | name=reconnect-SESS1
29 | lib=libvnc.so
30 | username=ubuntu
31 | password=PASSWD
32 | ip=127.0.0.1
33 | port=5910
34 |
35 | [xrdp3]
36 | name=reconnect-SESS2
37 | lib=libvnc.so
38 | username=ubuntu
39 | password=PASSWD
40 | ip=127.0.0.1
41 | port=5911
42 |
43 | [xrdp4]
44 | name=reconnect-SESS3
45 | lib=libvnc.so
46 | username=ubuntu
47 | password=PASSWD
48 | ip=127.0.0.1
49 | port=5912
50 |
51 | [xrdp4]
52 | name=reconnect-SESS4
53 | lib=libvnc.so
54 | username=ubuntu
55 | password=PASSWD
56 | ip=127.0.0.1
57 | port=5913
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/mate-gimp/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM phusion/baseimage:0.9.16
2 | ENV DEBIAN_FRONTEND noninteractive
3 | # Set correct environment variables
4 | ENV HOME /root
5 | ENV TERM xterm
6 | # Use baseimage-docker's init system
7 | CMD ["/sbin/my_init"]
8 |
9 | # Add local files
10 | ADD src/ /root/
11 |
12 | # set workdir
13 | WORKDIR /
14 |
15 | # Expose ports
16 | EXPOSE 6080
17 | EXPOSE 5900
18 | EXPOSE 3389
19 |
20 | # set startup file
21 | RUN mv /root/firstrun.sh /etc/my_init.d/firstrun.sh && \
22 | chmod +x /etc/my_init.d/firstrun.sh && \
23 |
24 | # update apt and install dependencies
25 | mv /root/excludes /etc/dpkg/dpkg.cfg.d/excludes && \
26 | add-apt-repository ppa:otto-kesselgulasch/gimp && \
27 | apt-add-repository ppa:ubuntu-mate-dev/ppa && \
28 | apt-add-repository ppa:ubuntu-mate-dev/trusty-mate && \
29 | apt-get update && \
30 | apt-get install -y --force-yes --no-install-recommends wget openjdk-7-jre supervisor sudo nano net-tools mate-desktop-environment-core x11vnc xvfb gtk2-engines-murrine ttf-ubuntu-font-family && \
31 | apt-get install -y xrdp gimp && \
32 |
33 |
34 | # create ubuntu user
35 | useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu && \
36 | echo "ubuntu:PASSWD" | chpasswd && \
37 |
38 | # set user ubuntu to same uid and guid as nobody:users in unraid
39 | usermod -u 99 ubuntu && \
40 | usermod -g 100 ubuntu && \
41 |
42 |
43 | # swap in modified xrdp.ini
44 | mv /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.original && \
45 | mv /root/xrdp.ini /etc/xrdp/xrdp.ini && \
46 | chown root:root /etc/xrdp/xrdp.ini && \
47 |
48 | # clean up
49 | apt-get clean && \
50 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
51 | /usr/share/man /usr/share/groff /usr/share/info \
52 | /usr/share/lintian /usr/share/linda /var/cache/man && \
53 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
54 | (( find /usr/share/doc -empty|xargs rmdir || true ))
55 |
--------------------------------------------------------------------------------
/mate-gimp/README.md:
--------------------------------------------------------------------------------
1 | Desktop in a box with gimp, hits CPU fairly hard.
2 | Output folder is /home/ubuntu/unraid. user/password is ubuntu:PASSWD (case sensitive).
3 | Once you have logged in and as long as you don't logout again you can resume a session by selecting it from the login dropdown.
4 | There are some wallpapers in /home/ubuntu/unraid/wallpapers.
5 |
--------------------------------------------------------------------------------
/mate-gimp/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/mate-gimp/src/firstrun.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | if [[ $(cat /etc/timezone) != $TZ ]] ; then
4 | echo "$TZ" > /etc/timezone
5 | dpkg-reconfigure -f noninteractive tzdata
6 | fi
7 |
8 | mkdir -p /home/ubuntu/unraid
9 |
10 | if [ -d "/home/ubuntu/unraid/wallpapers" ]; then
11 | echo "using existing wallpapers etc..."
12 | else
13 | mkdir -p /home/ubuntu/unraid/wallpapers
14 | cp /root/wallpapers/* /home/ubuntu/unraid/wallpapers/
15 | fi
16 |
17 |
18 | mkdir /var/run/sshd
19 | mkdir /root/.vnc
20 | /usr/bin/supervisord -c /root/supervisord.conf
21 | while [ 1 ]; do
22 | /bin/bash
23 | done
24 |
--------------------------------------------------------------------------------
/mate-gimp/src/supervisord.conf:
--------------------------------------------------------------------------------
1 | [supervisord]
2 | nodaemon=false
3 |
4 | [program:xvfb]
5 | priority=10
6 | directory=/
7 | command=/usr/bin/Xvfb :1 -screen 0 1700x950x16
8 | user=root
9 | autostart=true
10 | autorestart=true
11 | stopsignal=QUIT
12 | stdout_logfile=/var/log/xvfb.log
13 | stderr_logfile=/var/log/xvfb.err
14 |
15 | [program:matesession]
16 | priority=15
17 | directory=/home/ubuntu
18 | command=/usr/bin/mate-session
19 | user=ubuntu
20 | autostart=true
21 | autorestart=true
22 | stopsignal=QUIT
23 | environment=DISPLAY=":1",HOME="/home/ubuntu"
24 | stdout_logfile=/var/log/lxsession.log
25 | stderr_logfile=/var/log/lxsession.err
26 |
27 | [program:x11vnc]
28 | priority=20
29 | directory=/
30 | command=x11vnc -display :1 -xkb
31 | #command=x11vnc -display :1 -listen localhost -xkb
32 | user=root
33 | autostart=true
34 | autorestart=true
35 | stopsignal=QUIT
36 | stdout_logfile=/var/log/x11vnc.log
37 | stderr_logfile=/var/log/x11vnc.err
38 |
39 | [program:xrdp]
40 | priority=30
41 | command=/usr/sbin/xrdp -nodaemon
42 | process_name = xrdp
43 | user=root
44 | stdout_logfile=/var/log/xrdp.log
45 | stderr_logfile=/var/log/xrdp.err
46 |
47 | [program:xrdp-sesman]
48 | priority=35
49 | command=/usr/sbin/xrdp-sesman --nodaemon
50 | process_name = xrdp-sesman
51 | user=root
52 | stdout_logfile=/var/log/xrdp-sesman.log
53 | stderr_logfile=/var/log/xrdp-sesman.err
54 |
55 | [program:xrdp]
56 | priority=30
57 | command=/etc/init.d/xrdp start
58 | process_name = xrdp
59 | user=root
60 |
61 |
--------------------------------------------------------------------------------
/mate-gimp/src/wallpapers/Lime.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/mate-gimp/src/wallpapers/Lime.jpg
--------------------------------------------------------------------------------
/mate-gimp/src/wallpapers/LinuxGreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/mate-gimp/src/wallpapers/LinuxGreen.png
--------------------------------------------------------------------------------
/mate-gimp/src/wallpapers/linuxwallpaper.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/mate-gimp/src/wallpapers/linuxwallpaper.jpg
--------------------------------------------------------------------------------
/mate-gimp/src/xrdp.ini:
--------------------------------------------------------------------------------
1 |
2 | [globals]
3 | bitmap_cache=yes
4 | bitmap_compression=yes
5 | port=3389
6 | crypt_level=low
7 | channel_code=1
8 | max_bpp=24
9 | #black=000000
10 | #grey=d6d3ce
11 | #dark_grey=808080
12 | #blue=08246b
13 | #dark_blue=08246b
14 | #white=ffffff
15 | #red=ff0000
16 | #green=00ff00
17 | #background=626c72
18 |
19 | [xrdp1]
20 | name=sesman-Xvnc
21 | lib=libvnc.so
22 | username=ask
23 | password=ask
24 | ip=127.0.0.1
25 | port=-1
26 |
27 | [xrdp2]
28 | name=reconnect-SESS1
29 | lib=libvnc.so
30 | username=ubuntu
31 | password=PASSWD
32 | ip=127.0.0.1
33 | port=5910
34 |
35 | [xrdp3]
36 | name=reconnect-SESS2
37 | lib=libvnc.so
38 | username=ubuntu
39 | password=PASSWD
40 | ip=127.0.0.1
41 | port=5911
42 |
43 | [xrdp4]
44 | name=reconnect-SESS3
45 | lib=libvnc.so
46 | username=ubuntu
47 | password=PASSWD
48 | ip=127.0.0.1
49 | port=5912
50 |
51 | [xrdp4]
52 | name=reconnect-SESS4
53 | lib=libvnc.so
54 | username=ubuntu
55 | password=PASSWD
56 | ip=127.0.0.1
57 | port=5913
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/mate-libreoffice-freerdp/Dockerfile:
--------------------------------------------------------------------------------
1 | # set base os
2 | FROM phusion/baseimage:0.9.16
3 |
4 |
5 | # Set correct environment variables
6 | ENV DEBIAN_FRONTEND=noninteractive HOME="/root" TERM=xterm
7 | CMD ["/sbin/my_init"]
8 |
9 | # add local files
10 | ADD src/ /root/
11 |
12 | # update apt and install build dependencies
13 | RUN add-apt-repository ppa:freerdp-team/freerdp && \
14 | mv /root/freerdp-team-freerdp-trusty.list /etc/apt/sources.list.d/ && \
15 | apt-add-repository ppa:ubuntu-mate-dev/ppa && \
16 | apt-add-repository ppa:ubuntu-mate-dev/trusty-mate && \
17 | mv /root/excludes /etc/dpkg/dpkg.cfg.d/excludes && \
18 | apt-get update && \
19 | apt-get install -y freerdp wget openjdk-7-jre supervisor sudo nano net-tools x11vnc xvfb mate-desktop-environment-core libreoffice && \
20 |
21 | # create ubuntu user
22 | useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu && \
23 | echo "ubuntu:PASSWD" | chpasswd && \
24 |
25 | # set user ubuntu to same uid and guid as nobody:users in unraid
26 | usermod -u 99 ubuntu && \
27 | usermod -g 100 ubuntu && \
28 |
29 | # clean up
30 | apt-get clean && \
31 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
32 | /usr/share/man /usr/share/groff /usr/share/info \
33 | /usr/share/lintian /usr/share/linda /var/cache/man && \
34 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
35 | (( find /usr/share/doc -empty|xargs rmdir || true ))
36 |
--------------------------------------------------------------------------------
/mate-libreoffice-freerdp/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/mate-libreoffice-freerdp/src/freerdp-team-freerdp-trusty.list:
--------------------------------------------------------------------------------
1 | deb http://ppa.launchpad.net/freerdp-team/freerdp/ubuntu raring main
2 | # deb-src http://ppa.launchpad.net/freerdp-team/freerdp/ubuntu rarign main
3 |
--------------------------------------------------------------------------------
/mate-libreoffice/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM phusion/baseimage:0.9.16
2 | ENV DEBIAN_FRONTEND noninteractive
3 | # Set correct environment variables
4 | ENV HOME /root
5 | ENV TERM xterm
6 | # Use baseimage-docker's init system
7 | CMD ["/sbin/my_init"]
8 |
9 | # Add local files
10 | ADD src/ /root/
11 |
12 | # set workdir
13 | WORKDIR /
14 |
15 | # Expose ports
16 | EXPOSE 6080
17 | EXPOSE 5900
18 | EXPOSE 3389
19 |
20 | # set startup file
21 | RUN mv /root/firstrun.sh /etc/my_init.d/firstrun.sh && \
22 | chmod +x /etc/my_init.d/firstrun.sh && \
23 |
24 | # update apt and install dependencies
25 | mv /root/excludes /etc/dpkg/dpkg.cfg.d/excludes && \
26 | apt-add-repository ppa:ubuntu-mate-dev/ppa && \
27 | apt-add-repository ppa:ubuntu-mate-dev/trusty-mate && \
28 | apt-get update && \
29 | apt-get install -y xrdp wget openjdk-7-jre supervisor sudo nano net-tools x11vnc xvfb mate-desktop-environment-core libreoffice && \
30 |
31 | # create ubuntu user
32 | useradd --create-home --shell /bin/bash --user-group --groups adm,sudo ubuntu && \
33 | echo "ubuntu:PASSWD" | chpasswd && \
34 |
35 | # set user ubuntu to same uid and guid as nobody:users in unraid
36 | usermod -u 99 ubuntu && \
37 | usermod -g 100 ubuntu && \
38 |
39 |
40 | # swap in modified xrdp.ini
41 | mv /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.original && \
42 | mv /root/xrdp.ini /etc/xrdp/xrdp.ini && \
43 | chown root:root /etc/xrdp/xrdp.ini && \
44 |
45 | # clean up
46 | apt-get clean && \
47 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
48 | /usr/share/man /usr/share/groff /usr/share/info \
49 | /usr/share/lintian /usr/share/linda /var/cache/man && \
50 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
51 | (( find /usr/share/doc -empty|xargs rmdir || true ))
52 |
--------------------------------------------------------------------------------
/mate-libreoffice/README.md:
--------------------------------------------------------------------------------
1 | Desktop in a box with libreoffice, hits CPU fairly hard.
2 | Output folder is /home/ubuntu/unraid. user/password is ubuntu:PASSWD (case sensitive).
3 | Once you have logged in and as long as you don't logout again you can resume a session by selecting it from the login dropdown.
4 | There are some wallpapers in /home/ubuntu/unraid/wallpapers.
5 |
--------------------------------------------------------------------------------
/mate-libreoffice/src/excludes:
--------------------------------------------------------------------------------
1 | path-exclude /usr/share/doc/*
2 | # we need to keep copyright files for legal reasons
3 | path-include /usr/share/doc/*/copyright
4 | path-exclude /usr/share/man/*
5 | path-exclude /usr/share/groff/*
6 | path-exclude /usr/share/info/*
7 | # lintian stuff is small, but really unnecessary
8 | path-exclude /usr/share/lintian/*
9 | path-exclude /usr/share/linda/*
10 | # Drop locales except English
11 | path-exclude=/usr/share/locale/*
12 | path-include=/usr/share/locale/en/*
13 | path-include=/usr/share/locale/locale.alias
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/mate-libreoffice/src/firstrun.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | if [[ $(cat /etc/timezone) != $TZ ]] ; then
4 | echo "$TZ" > /etc/timezone
5 | dpkg-reconfigure -f noninteractive tzdata
6 | fi
7 |
8 | mkdir -p /home/ubuntu/unraid
9 | mkdir -p /home/ubuntu/.config/libreoffice/4/user
10 | if [ -d "/home/ubuntu/unraid/wallpapers" ]; then
11 | echo "using existing wallpapers etc..."
12 | else
13 | mkdir -p /home/ubuntu/unraid/wallpapers
14 | cp /root/wallpapers/* /home/ubuntu/unraid/wallpapers/
15 | fi
16 |
17 | if [ -f "/home/ubuntu/.config/libreoffice/4/user/registrymodifications.xcu" ]; then
18 | echo "using existing libreoffice settings file"
19 | else
20 | cp /root/registrymodifications.xcu /home/ubuntu/.config/libreoffice/4/user/
21 | chown -R ubuntu:users /home/ubuntu/
22 | chmod -R 755 /home/ubuntu/.config/libreoffice
23 | chmod 600 /home/ubuntu/.config/libreoffice/4/user/registrymodifications.xcu
24 | fi
25 |
26 | mkdir /var/run/sshd
27 | mkdir /root/.vnc
28 | /usr/bin/supervisord -c /root/supervisord.conf
29 | while [ 1 ]; do
30 | /bin/bash
31 | done
32 |
--------------------------------------------------------------------------------
/mate-libreoffice/src/registrymodifications.xcu:
--------------------------------------------------------------------------------
1 |
2 |
3 | - false
4 |
5 | - true
6 | - $(work)/unraid
7 | - false
8 | - 323,92,,;;,,,;
9 | - 102;1
10 | - en-US
11 | - 57,25,1165,579;1;0,0,0,0;
12 | - 420m0(Build:2)
13 | - false
14 | - true
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/mate-libreoffice/src/supervisord.conf:
--------------------------------------------------------------------------------
1 | [supervisord]
2 | nodaemon=false
3 |
4 | [program:xvfb]
5 | priority=10
6 | directory=/
7 | command=/usr/bin/Xvfb :1 -screen 0 1700x950x16
8 | user=root
9 | autostart=true
10 | autorestart=true
11 | stopsignal=QUIT
12 | stdout_logfile=/var/log/xvfb.log
13 | stderr_logfile=/var/log/xvfb.err
14 |
15 | [program:matesession]
16 | priority=15
17 | directory=/home/ubuntu
18 | command=/usr/bin/mate-session
19 | user=ubuntu
20 | autostart=true
21 | autorestart=true
22 | stopsignal=QUIT
23 | environment=DISPLAY=":1",HOME="/home/ubuntu"
24 | stdout_logfile=/var/log/lxsession.log
25 | stderr_logfile=/var/log/lxsession.err
26 |
27 | [program:x11vnc]
28 | priority=20
29 | directory=/
30 | command=x11vnc -display :1 -xkb
31 | #command=x11vnc -display :1 -listen localhost -xkb
32 | user=root
33 | autostart=true
34 | autorestart=true
35 | stopsignal=QUIT
36 | stdout_logfile=/var/log/x11vnc.log
37 | stderr_logfile=/var/log/x11vnc.err
38 |
39 | [program:xrdp]
40 | priority=30
41 | command=/usr/sbin/xrdp -nodaemon
42 | process_name = xrdp
43 | user=root
44 | stdout_logfile=/var/log/xrdp.log
45 | stderr_logfile=/var/log/xrdp.err
46 |
47 | [program:xrdp-sesman]
48 | priority=35
49 | command=/usr/sbin/xrdp-sesman --nodaemon
50 | process_name = xrdp-sesman
51 | user=root
52 | stdout_logfile=/var/log/xrdp-sesman.log
53 | stderr_logfile=/var/log/xrdp-sesman.err
54 |
55 | [program:xrdp]
56 | priority=30
57 | command=/etc/init.d/xrdp start
58 | process_name = xrdp
59 | user=root
60 |
61 |
--------------------------------------------------------------------------------
/mate-libreoffice/src/supervisord.conf-original:
--------------------------------------------------------------------------------
1 | [supervisord]
2 | nodaemon=false
3 |
4 | [program:xvfb]
5 | priority=10
6 | directory=/
7 | command=/usr/bin/Xvfb :1 -screen 0 1700x950x16
8 | user=root
9 | autostart=true
10 | autorestart=true
11 | stopsignal=QUIT
12 | stdout_logfile=/var/log/xvfb.log
13 | stderr_logfile=/var/log/xvfb.err
14 |
15 | [program:lxsession]
16 | priority=15
17 | directory=/home/ubuntu
18 | command=/usr/bin/lxsession
19 | user=ubuntu
20 | autostart=true
21 | autorestart=true
22 | stopsignal=QUIT
23 | environment=DISPLAY=":1",HOME="/home/ubuntu"
24 | stdout_logfile=/var/log/lxsession.log
25 | stderr_logfile=/var/log/lxsession.err
26 |
27 | [program:x11vnc]
28 | priority=20
29 | directory=/
30 | command=x11vnc -display :1 -xkb
31 | #command=x11vnc -display :1 -listen localhost -xkb
32 | user=root
33 | autostart=true
34 | autorestart=true
35 | stopsignal=QUIT
36 | stdout_logfile=/var/log/x11vnc.log
37 | stderr_logfile=/var/log/x11vnc.err
38 |
39 | [program:xrdp]
40 | priority=30
41 | command=/usr/sbin/xrdp -nodaemon
42 | process_name = xrdp
43 | user=root
44 | stdout_logfile=/var/log/xrdp.log
45 | stderr_logfile=/var/log/xrdp.err
46 |
47 | [program:xrdp-sesman]
48 | priority=35
49 | command=/usr/sbin/xrdp-sesman --nodaemon
50 | process_name = xrdp-sesman
51 | user=root
52 | stdout_logfile=/var/log/xrdp-sesman.log
53 | stderr_logfile=/var/log/xrdp-sesman.err
54 |
55 | [program:xrdp]
56 | priority=30
57 | command=/etc/init.d/xrdp start
58 | process_name = xrdp
59 | user=root
60 |
61 |
--------------------------------------------------------------------------------
/mate-libreoffice/src/wallpapers/Lime.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/mate-libreoffice/src/wallpapers/Lime.jpg
--------------------------------------------------------------------------------
/mate-libreoffice/src/wallpapers/LinuxGreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/mate-libreoffice/src/wallpapers/LinuxGreen.png
--------------------------------------------------------------------------------
/mate-libreoffice/src/wallpapers/lime-wallpaper.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/mate-libreoffice/src/wallpapers/lime-wallpaper.jpg
--------------------------------------------------------------------------------
/mate-libreoffice/src/wallpapers/linuxwallpaper.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sparklyballs/desktop-dockers/c27eee968c360a30437e7d81589e9533d5613b0e/mate-libreoffice/src/wallpapers/linuxwallpaper.jpg
--------------------------------------------------------------------------------
/mate-libreoffice/src/xrdp.ini:
--------------------------------------------------------------------------------
1 |
2 | [globals]
3 | bitmap_cache=yes
4 | bitmap_compression=yes
5 | port=3389
6 | crypt_level=low
7 | channel_code=1
8 | max_bpp=24
9 | #black=000000
10 | #grey=d6d3ce
11 | #dark_grey=808080
12 | #blue=08246b
13 | #dark_blue=08246b
14 | #white=ffffff
15 | #red=ff0000
16 | #green=00ff00
17 | #background=626c72
18 |
19 | [xrdp1]
20 | name=sesman-Xvnc
21 | lib=libvnc.so
22 | username=ask
23 | password=ask
24 | ip=127.0.0.1
25 | port=-1
26 |
27 | [xrdp2]
28 | name=reconnect-SESS1
29 | lib=libvnc.so
30 | username=ubuntu
31 | password=PASSWD
32 | ip=127.0.0.1
33 | port=5910
34 |
35 | [xrdp3]
36 | name=reconnect-SESS2
37 | lib=libvnc.so
38 | username=ubuntu
39 | password=PASSWD
40 | ip=127.0.0.1
41 | port=5911
42 |
43 | [xrdp4]
44 | name=reconnect-SESS3
45 | lib=libvnc.so
46 | username=ubuntu
47 | password=PASSWD
48 | ip=127.0.0.1
49 | port=5912
50 |
51 | [xrdp4]
52 | name=reconnect-SESS4
53 | lib=libvnc.so
54 | username=ubuntu
55 | password=PASSWD
56 | ip=127.0.0.1
57 | port=5913
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/pitivi/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:x11rdp1.2
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="Pitivi" WIDTH=1280 HEIGHT=720 TERM=xterm
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # repositories
14 | RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
15 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
16 |
17 | # install dependencies
18 | apt-get update && \
19 | apt-get install -y \
20 | gnome-themes-standard \
21 | pitivi && \
22 |
23 | # clean up
24 | apt-get clean && \
25 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
26 | /usr/share/man /usr/share/groff /usr/share/info \
27 | /usr/share/lintian /usr/share/linda /var/cache/man && \
28 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
29 | (( find /usr/share/doc -empty|xargs rmdir || true ))
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/pitivi/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/pitivi
3 |
--------------------------------------------------------------------------------
/puddletag/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:xvnc
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="PuddleTag" WIDTH=1420 HEIGHT=840 TERM=xterm
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # fetch puddletag
14 | RUN wget --directory-prefix=/tmp http://sourceforge.net/projects/puddletag/files/puddletag_1.0.5-1_all.deb && \
15 |
16 | # update apt and install dependencies
17 | apt-get update && \
18 | apt-get install -qy \
19 | python-support \
20 | python-mutagen \
21 | python-qt4 \
22 | python-pyparsing \
23 | python-configobj \
24 | libchromaprint-tools \
25 | gnome-themes-standard && \
26 |
27 | # install puddletag
28 | dpkg -i /tmp/puddletag_1.0.5-1_all.deb && \
29 |
30 | # clean up
31 | apt-get clean && \
32 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
33 | /usr/share/man /usr/share/groff /usr/share/info \
34 | /usr/share/lintian /usr/share/linda /var/cache/man && \
35 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
36 | (( find /usr/share/doc -empty|xargs rmdir || true ))
37 |
38 |
--------------------------------------------------------------------------------
/puddletag/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/puddletag
3 |
4 |
--------------------------------------------------------------------------------
/shotwell/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM hurricane/dockergui:x11rdp
2 |
3 | # set variables
4 | # User/Group Id gui app will be executed as default are 99 and 100
5 | ENV USER_ID=99 GROUP_ID=100 APP_NAME="Shotwell" WIDTH=1280 HEIGHT=720 TERM=xterm
6 |
7 | # Use baseimage-docker's init system
8 | CMD ["/sbin/my_init"]
9 |
10 | # Add local files
11 | ADD src/ /
12 |
13 | # repositories
14 | RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
15 | echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
16 |
17 | # install dependencies
18 | add-apt-repository ppa:yorba/ppa && \
19 | apt-get update && \
20 | apt-get install -y \
21 | gnome-themes-standard \
22 | shotwell && \
23 |
24 | # clean up
25 | apt-get clean && \
26 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
27 | /usr/share/man /usr/share/groff /usr/share/info \
28 | /usr/share/lintian /usr/share/linda /var/cache/man && \
29 | (( find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true )) && \
30 | (( find /usr/share/doc -empty|xargs rmdir || true ))
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/shotwell/src/startapp.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | /usr/bin/shotwell
3 |
4 |
--------------------------------------------------------------------------------