File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- ARG BASE_IMAGE=ros:jazzy-ros-base
1
+ ARG ROS_DISTRO=jazzy
2
+ ARG BASE_IMAGE=ros:${ROS_DISTRO}-ros-base
2
3
FROM ${BASE_IMAGE} AS base
3
4
4
5
ARG USER_ID=1000
5
6
ARG GROUP_ID=1000
6
7
ARG WB_HUMANOID_MPC_DIR="/wb_humanoid_mpc_ws"
7
8
ARG PYTHON_VERSION=3.12
8
9
ENV DEBIAN_FRONTEND=noninteractive
9
- ENV ROS_DISTRO=jazzy
10
+ ENV ROS_DISTRO=${ROS_DISTRO}
10
11
11
12
# Install system dependencies, ROS, Python, and development tools in a single step
12
13
RUN apt-get update && apt-get install -y --no-install-recommends \
@@ -24,9 +25,6 @@ RUN apt-get update && \
24
25
envsubst < /tmp/dependencies.txt | xargs apt-get install -y --no-install-recommends && \
25
26
rm -rf /var/lib/apt/lists/*
26
27
27
- # Increase Git buffer size
28
- RUN git config --global http.postBuffer 1048576000
29
-
30
28
# Set default shell to bash
31
29
SHELL ["/bin/bash" , "-c" ]
32
30
You can’t perform that action at this time.
0 commit comments