-
Notifications
You must be signed in to change notification settings - Fork 94
/
doc_independent_task.Dockerfile.em
50 lines (38 loc) · 1.16 KB
/
doc_independent_task.Dockerfile.em
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
# generated from @template_name
FROM ubuntu:xenial
VOLUME ["/var/cache/apt/archives"]
ENV DEBIAN_FRONTEND noninteractive
@(TEMPLATE(
'snippet/setup_locale.Dockerfile.em',
timezone=timezone,
))@
RUN useradd -u @uid -m buildfarm
@(TEMPLATE(
'snippet/add_distribution_repositories.Dockerfile.em',
distribution_repository_keys=distribution_repository_keys,
distribution_repository_urls=distribution_repository_urls,
os_name='ubuntu',
os_code_name='xenial',
add_source=False,
))@
@(TEMPLATE(
'snippet/add_wrapper_scripts.Dockerfile.em',
wrapper_scripts=wrapper_scripts,
))@
# automatic invalidation once every day
RUN echo "@today_str"
@(TEMPLATE(
'snippet/install_python3.Dockerfile.em',
os_name='ubuntu',
os_code_name='xenial',
))@
RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y make python-catkin-pkg-modules python-dateutil python-pip python-wstool python-yaml
RUN pip install -U catkin-sphinx sphinx
USER buildfarm
ENTRYPOINT ["sh", "-c"]
@{
cmd = '/tmp/ros_buildfarm/scripts/doc/invoke_doc_targets.sh' + \
' /tmp/repositories' + \
' /tmp/generated_documentation/independent/api'
}@
CMD ["@cmd"]