generated from devcontainers/template-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Youen Péron
committed
Sep 25, 2023
1 parent
94d157c
commit b4e6784
Showing
2 changed files
with
14 additions
and
2 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 |
---|---|---|
@@ -1,4 +1,16 @@ | ||
FROM cgifr/lino-toolbox:${templateOption:imageVariant} | ||
FROM cgifr/lino-toolbox:${templateOption:imageVariant}-debian | ||
ARG USERNAME=lino | ||
ARG USER_UID=1000 | ||
ARG USER_GID=$USER_UID | ||
|
||
|
||
USER "root" | ||
|
||
# Create the user lino | ||
RUN groupadd --gid $USER_GID $USERNAME \ | ||
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME | ||
|
||
USER $USERNAME | ||
|
||
CMD [ "sleep", "infinity" ] | ||
|
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