Skip to content

Commit

Permalink
docker: remove pkg share directory
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored May 14, 2024
1 parent 7b463f5 commit bc1bbb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ RUN apt-get update -y && \
COPY --from=builder /usr/local/sbin/* /usr/sbin/
COPY --from=builder /usr/local/lib/sogo/* /usr/lib/sogo/
COPY --from=builder /usr/local/lib/GNUstep/* /usr/lib/GNUstep/
COPY --from=builder /usr/pkg/share/GNUstep/* /usr/pkg/share/GNUstep/
COPY --from=builder /usr/pkg/lib/GNUstep/* /usr/pkg/lib/GNUstep/
COPY --from=builder /tmp/SOGo/Scripts/sogo-default /etc/default/sogo
COPY --from=builder /tmp/SOGo/Scripts/sogo.cron /etc/cron.d/sogo
Expand Down
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

useradd -ms /bin/bash sogo

# Set process UID and GID at runtime
if [ -n "$PUID" ] && [ -n "$PGID" ]; then
groupmod -g $PGID sogo
Expand Down

0 comments on commit bc1bbb4

Please sign in to comment.