-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (29 loc) · 875 Bytes
/
Dockerfile
File metadata and controls
34 lines (29 loc) · 875 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
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND=non-interactive
RUN apt-get update && apt-get install -qy \
dput \
fakeroot \
debhelper \
apt-file \
python-setuptools \
python3-setuptools \
python-all \
python3-all \
python-pip \
python3-pip \
openssh-client # scp for dput
RUN pip install -U stdeb
RUN pip3 install -U stdeb
RUN pip3 install -U pip
RUN pip3 install -U wheel # Older versions use an unsupported metadata format.
RUN pip3 install -U setuptools
RUN pip3 install -U twine
RUN mkdir -p /ros_release_python/scripts
RUN mkdir -p /ros_release_python/resources
ADD scripts/ros_release_python /ros_release_python/scripts
ADD resources/dput.cf /ros_release_python/resources
ADD resources/include.cf /ros_release_python/resources
# For running without rocker homedir mapping.
RUN mkdir /projects
# Needed for dput
ENV USER=$USER