-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
30 lines (25 loc) · 1.22 KB
/
Dockerfile
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
ARG DOCKER_ORG=usdotfhwastoldev
ARG DOCKER_TAG=develop
FROM ${DOCKER_ORG}/carma-base:${DOCKER_TAG} as base_image
SHELL ["/bin/bash", "-c"]
ARG DEBIAN_FRONTEND="noninteractive"
ARG VERSION="NULL"
ARG VCS_REF="NULL"
ARG BUILD_DATE="NULL"
ARG GIT_BRANCH=develop
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.name="carma-msgs" \
org.label-schema.description="carma msgs bridge for the CARMA Platform" \
org.label-schema.vendor="Leidos" \
org.label-schema.version=${VERSION} \
org.label-schema.url="https://highways.dot.gov/research/research-programs/CARMA" \
org.label-schema.vcs-url="https://github.com/usdot-fhwa-stol/carma-msgs" \
org.label-schema.vcs-ref=${VCS_REF} \
org.label-schema.build-date=${BUILD_DATE}
RUN mkdir -p ~/.base-image/ros1_msgs_ws/src/carma_msgs
RUN mkdir -p /home/carma/src
COPY . /home/carma/.base-image/ros1_msgs_ws/src/carma_msgs/
RUN mkdir -p ~/.base-image/ros2_msgs_ws/src/carma_msgs
COPY . /home/carma/.base-image/ros2_msgs_ws/src/carma_msgs/
RUN /home/carma/.base-image/ros1_msgs_ws/src/carma_msgs/docker/checkout.bash -b ${GIT_BRANCH} -r /home/carma/.base-image/workspace
RUN /home/carma/.base-image/ros1_msgs_ws/src/carma_msgs/docker/install.sh