-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (21 loc) · 853 Bytes
/
Dockerfile
File metadata and controls
27 lines (21 loc) · 853 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
ARG ROS_DISTRO=humble
ARG OS=jammy
ARG FROM_IMAGE=ros:${ROS_DISTRO}-ros-base-${OS}
ARG OVERLAY_WS=/opt/ros/${ROS_DISTRO}/overlay_ws
FROM ${FROM_IMAGE} AS cacher
ENV DEBIAN_FRONTEND=noninteractive
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
ENV ROS_DISTRO=${ROS_DISTRO}
ENV REPO_DIR=/root/atos_git
SHELL ["/bin/bash", "-c"]
WORKDIR ${REPO_DIR}
COPY ./scripts/installation/ ./scripts/installation/
COPY ./atos_gui/requirements.txt ./atos_gui/requirements.txt
COPY ./atos_gui/package.xml ./atos_gui/package.xml
COPY ./atos_interfaces/package.xml ./atos_interfaces/package.xml
COPY ./atos/package.xml ./atos/package.xml
RUN --mount=type=cache,target=/var/cache/apt \
./scripts/installation/install_deps.sh ${REPO_DIR}
COPY . .
RUN ./scripts/installation/install_atos.sh ${REPO_DIR}
WORKDIR /root/atos_ws