Skip to content

Commit

Permalink
Cache playwright browsers outside root home to allow container to run…
Browse files Browse the repository at this point in the history
… as non-root (open-telemetry#1429)

Co-authored-by: Austin Parker <[email protected]>
  • Loading branch information
fvlankvelt and austinlparker authored Mar 7, 2024
1 parent c076a66 commit e82863b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/loadgenerator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ COPY --from=builder /reqs /usr/local
COPY ./src/loadgenerator/locustfile.py .
COPY ./src/loadgenerator/people.json .
ENV LOCUST_PLAYWRIGHT=1
ENV PLAYWRIGHT_BROWSERS_PATH=/opt/pw-browsers
RUN playwright install --with-deps chromium
ENTRYPOINT locust

0 comments on commit e82863b

Please sign in to comment.