Skip to content

Commit

Permalink
Revert UID/GID changes from #1645 (#1651)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Jul 31, 2024
1 parent 6dbf94c commit 04a6e0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ath-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ java_version="${java_version:-17}"
# high chance of uid / group already existing in the container
# known to happen on macOS
if ((uid < 1000)); then
uid=1000
uid=1001
fi

if ((gid < 1000)); then
gid=1000
gid=1001
fi

docker build \
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/ath-container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ COPY set-java.sh /usr/bin
COPY vnc.sh /usr/bin

# Allow injecting uid and git to match directory ownership
ARG uid=1000
ARG gid=1000
ARG uid=1001
ARG gid=1001

EXPOSE 5942

Expand Down

0 comments on commit 04a6e0b

Please sign in to comment.