Skip to content

Commit

Permalink
Merge pull request #653 from permitio/roe/per-10577-fix-opal-image-bu…
Browse files Browse the repository at this point in the history
…iltin-python-packages-not-being-updated

Fix opal image builtin python packages not being updated
  • Loading branch information
roekatz authored Aug 29, 2024
2 parents 39f27b0 + 456730f commit b55bb50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ RUN CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo build --release
FROM python:3.10-slim-bookworm AS common

# copy libraries from build stage (This won't copy redundant libraries we used in build-stage)
# also remove the default python site-packages that has older versions of packages that won't be overridden
RUN rm -r /usr/local/lib/python3.10/site-packages
COPY --from=build-stage /usr/local /usr/local

# Add non-root user (with home dir at /opal)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ Declaring the broadcast uri is optional, depending on whether you deployed a bro
</a>
.
</li>
<li>
Note that password authentication is not supported in the
broadcaster URI when using redis, see{" "}
<a href="https://github.com/encode/broadcaster/blob/master/broadcaster/_backends/redis.py">
source
</a>
.
</li>
<li>
Example value:{" "}
<code>OPAL_BROADCAST_URI=postgres://localhost/mydb</code>
Expand Down

0 comments on commit b55bb50

Please sign in to comment.