Skip to content

Commit

Permalink
fix: create the node user
Browse files Browse the repository at this point in the history
Create the node user before trying to use it.

Currently, the action fails with:
```
docker: Error response from daemon: unable to find user node: no matching entries in passwd file.
```
  • Loading branch information
ttshivers authored and ahmadnassri committed Jul 29, 2023
1 parent de37347 commit 7fe04d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ RUN node install.js

FROM base AS app

RUN useradd -ms /bin/bash node

LABEL com.github.actions.name="Conventional Commit Lint" \
com.github.actions.description="commitlint your PRs with Conventional style" \
com.github.actions.icon="search" \
Expand Down

0 comments on commit 7fe04d1

Please sign in to comment.