Skip to content

Commit

Permalink
Issue #74 Dockerfile: give openeo user log permissions on /var/log/op…
Browse files Browse the repository at this point in the history
…eneo
  • Loading branch information
soxofaan committed Sep 27, 2023
1 parent 3b220b9 commit 7ae8db5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ RUN echo "[global]" >> $PIP_CONF && \
cat $PIP_CONF


# Build and run as non-root (see https://pythonspeed.com/articles/root-capabilities-docker-security/)
RUN useradd --create-home openeo

RUN chown openeo:openeo /var/log/openeo

# Build and run as non-root (see https://pythonspeed.com/articles/root-capabilities-docker-security/)
WORKDIR /home/openeo
USER openeo

Expand Down
2 changes: 1 addition & 1 deletion src/openeo_aggregator/about.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.10.6a1"
__version__ = "0.10.7a1"

0 comments on commit 7ae8db5

Please sign in to comment.