@@ -10,14 +10,13 @@ ARG MOVEIT_STUDIO_BASE_IMAGE
1010ARG USERNAME=studio-user
1111ARG USER_UID=1000
1212ARG USER_GID=1000
13- ARG BASE=base
1413
1514# #################################################
1615# Starting from the specified MoveIt Pro release #
1716# #################################################
1817# The image tag is specified in the argument itself.
1918# hadolint ignore=DL3006
20- FROM ${MOVEIT_STUDIO_BASE_IMAGE} AS base-base
19+ FROM ${MOVEIT_STUDIO_BASE_IMAGE} AS base
2120
2221# Create a non-root user
2322ARG USERNAME
@@ -50,20 +49,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
5049 /home/${USERNAME}/.ros && \
5150 chown -R $USER_UID:$USER_GID /home/${USERNAME} /opt/overlay_ws/
5251
53- FROM base-base AS base-nvidia
54- ARG NVIDIA_DRIVER_PACKAGE
55- ENV DEBIAN_FRONTEND=noninteractive
56- # hadolint ignore=DL3008
57- RUN apt-get update && apt-get install -y --no-install-recommends software-properties-common
58- # hadolint ignore=DL3008
59- RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
60- --mount=type=cache,target=/var/lib/apt,sharing=locked \
61- add-apt-repository ppa:graphics-drivers/ppa && \
62- apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends "${NVIDIA_DRIVER_PACKAGE}"
63-
64- ARG BASE
65- # hadolint ignore=DL3006
66- FROM base-${BASE} AS base
6752# Install additional dependencies
6853# You can also add any necessary apt-get install, pip install, etc. commands at this point.
6954# NOTE: The /opt/overlay_ws folder contains MoveIt Pro binary packages and the source file.
0 commit comments