-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add default values to Dockerfile arguments
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
############## | ||
FROM ros:noetic-robot as base | ||
|
||
ARG CATKIN_WORKSPACE_DIR=${CATKIN_WORKSPACE_DIR} | ||
ARG CATKIN_WORKSPACE_DIR="/catkin_ws" | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL description="ROS Noetic Docker template" | ||
|
@@ -31,9 +31,9 @@ ENV DEBIAN_FRONTEND=dialog | |
##################### | ||
FROM base as dev | ||
|
||
ARG USERNAME=${USERNAME} | ||
ARG UID=${UID} | ||
ARG GID=${GID} | ||
ARG USERNAME="developer" | ||
ARG UID=1000 | ||
ARG GID=1000 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
############## | ||
FROM ros:humble-ros-base as base | ||
|
||
ARG AMENT_WORKSPACE_DIR=${AMENT_WORKSPACE_DIR} | ||
ARG AMENT_WORKSPACE_DIR="/ament_ws" | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL description="ROS 2 Humble Docker template" | ||
|
@@ -36,9 +36,9 @@ ENV DEBIAN_FRONTEND=dialog | |
##################### | ||
FROM base as dev | ||
|
||
ARG USERNAME=${USERNAME} | ||
ARG UID=${UID} | ||
ARG GID=${GID} | ||
ARG USERNAME="developer" | ||
ARG UID=1000 | ||
ARG GID=1000 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
|