Skip to content

Commit

Permalink
Corrected nonroot typo wolfi-with-dockerfiles.md (#1834)
Browse files Browse the repository at this point in the history
## Type of change
Corrected nonroot:nonroot typo found within documentation

### What should this PR do?
Revised Dockerfile content to correct typo 

### Why are we making this change?

Signed-off-by: JeffersonJ <[email protected]>
  • Loading branch information
mental-lab authored Oct 2, 2024
1 parent eb202ef commit 5298b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/open-source/wolfi/wolfi-with-dockerfiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ARG version=3.12
WORKDIR /app

RUN apk add python-${version} py${version}-pip && \
chown -R nonroot.nonroot /app/
chown -R nonroot:nonroot /app/

USER nonroot
COPY requirements.txt linky.png linky.py /app/
Expand Down Expand Up @@ -160,7 +160,7 @@ ENV PATH="/app/venv/bin:$PATH"
WORKDIR /app

RUN apk update && apk add python-$version py${version}-pip && \
chown -R nonroot.nonroot /app/
chown -R nonroot:nonroot /app/
USER nonroot
RUN python -m venv /app/venv

Expand Down

0 comments on commit 5298b60

Please sign in to comment.