Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns committed Nov 28, 2024
1 parent 3b3cf45 commit 2a610c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
if: matrix.os_family == 'Linux'
run: |
docker run \
--rm -w /workspace -v "$(pwd):/workspace" --user="$(id --user):$(id --group)" \
--rm -w /github/workspace -v "$(pwd):/github/workspace" \
$(docker build -q ./docker/native-image) \
sh -c "./gradlew :temporal-test-server:build"
# path ends in a wildcard because on windows the file ends in '.exe'
Expand Down
4 changes: 3 additions & 1 deletion docker/native-image/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:21 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}"
RUN apt-get update
RUN apt-get install -y git build-essential zlib1g-dev
RUN apt-get install -y git build-essential zlib1g-dev
# Avoid errors like: "fatal: detected dubious ownership in repository"
RUN git config --global --add safe.directory '*'

0 comments on commit 2a610c1

Please sign in to comment.