forked from linuxserver-archive/docker-baseimage-guacgui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
50 lines (35 loc) · 1.23 KB
/
Dockerfile
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
# dockergui
FROM phusion/baseimage:0.9.19
MAINTAINER 2devnull
#########################################
## ENVIRONMENTAL CONFIG ##
#########################################
# Set correct environment variables
ENV LC_ALL=C.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 TERM=xterm
# User/Group Id gui app will be executed as default are 99 and 100
ENV USER_ID=99
ENV GROUP_ID=100
# Gui App Name default is "GUI_APPLICATION"
ENV APP_NAME="rdp-dev"
# Default resolution, change if you like
ENV WIDTH=1280
ENV HEIGHT=720
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
#########################################
## RUN INSTALL SCRIPT ##
#########################################
COPY ./files/ /tmp/
RUN chmod +x /tmp/install/install.sh && /tmp/install/install.sh
#########################################
## GUI APP INSTALL ##
#########################################
# Install steps for X app
# Copy X app start script to right location
COPY startapp.sh /startapp.sh
#########################################
## EXPORTS AND VOLUMES ##
#########################################
# Place whater volumes and ports you want exposed here:
VOLUME ["/config"]
EXPOSE 3389 8080