blob: aaebc5f62ce79d0dc1e185db1cc5c3f2c42b8adc (
plain)
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
|
#===============================================================================
# Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#===============================================================================
### Image name
export IMAGES="tizendocker:443/jenkins"
### Repository name (and optionally a tag) to be applied to the resulting image in case of success
export TAG="1.580.3-1.2.0.4"
### Assign a name to the container
export CONTAINER="jenkins"
### Publish a container's port to the host
### format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort
export PORTS="8080 8888 6379 873"
### Read in a line delimited file of environment variables
export ENVLIST="$(pwd)/env/env.list"
### Bind mount a volume (e.g., from the host: -v /host:/container, from Docker: -v /container)
export VOLUMES="
/home/jenkins/var/lib/jenkins/:/var/lib/jenkins/
/home/jenkins/var/lib/redis/default/:/var/lib/redis/default/
/home/jenkins/srv/obs/:/srv/obs/
$(pwd)/root/jobs/:/root/jobs/
"
### Container host name
export HOSTNAME="Jenkins"
### Give extended privileges to this container
export PRIVILEGED=yes
### Restart policy to apply when a container exits (no, on-failure[:max-retry], always)
export AUTOSTART=always
### Add link to another container in the form of name:alias
export LINK_IMAGES=""
### Mount volumes from the specified container(s)
export VOLUMES_IMAGES=""
### Add a custom host-to-IP mapping (host:ip)
export ADD_HOSTS=""
### Add Linux capabilities
export CAP_ADD=""
|