-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sh
More file actions
42 lines (31 loc) · 740 Bytes
/
config.sh
File metadata and controls
42 lines (31 loc) · 740 Bytes
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
#!/bin/bash
# Command used to launch docker
DOCKER_CMD="`which docker`"
# Where to store the backups
BACKUP_PATH=""
# Where to store the communication pipes
FIFO_PATH="/tmp/docker-things/fifo"
# The name of the docker image
PROJECT_NAME="sublimetext"
# Meta to set in the .desktop file
APP_GENERIC_NAME="Text Editor"
APP_CATEGORIES="TextEditor;Development;"
APP_MIME_TYPE="text/plain;"
APP_PARAM="%F"
# BUILD ARGS
BUILD_ARGS=(
)
# LAUNCH ARGS
RUN_ARGS=(
-e DISPLAY=$DISPLAY
-v /tmp/.X11-unix:/tmp/.X11-unix
-v $XAUTHORITY:/tmp/.Xauthority
-e XAUTHORITY=/tmp/.Xauthority
--memory="4g"
--cpu-shares=1024
-v $(pwd)/data:/home/sublimetext
-v /media:/media
-v $HOME:$HOME
--rm
-d
)