Skip to content

Commit

Permalink
Add observable-builder user and use /project
Browse files Browse the repository at this point in the history
Adds an observable-builder user with a home directory of /project. This
uses 8000 as the uid since that's not likely to collide with any users
on the container runtime host machines.
  • Loading branch information
jessedearing committed Sep 16, 2024
1 parent a977bbb commit 84ec9b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,6 @@ COPY --from=python . .
COPY --from=r . .
COPY --from=duckdb . .
COPY --from=rust . .
RUN mkdir /project && useradd -m -d /project -u 8000 observable-builder && chown 8000:8000 /project
WORKDIR /project
USER 8000:8000

0 comments on commit 84ec9b7

Please sign in to comment.