Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit 3169ac2

Browse files
committed
Add encouragement to use external git CLI client
Signed-off-by: Peter Baker <peter.baker122@csiro.au>
1 parent c5f248c commit 3169ac2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
3636
# This allows apps derived from this image to drop privileges and run as non-root
3737
# user accounts, but still activate environments configured by this dockerfile.
3838
ENV JULIA_DEPOT_PATH="/usr/local/share/julia"
39+
ENV JULIA_PKG_USE_CLI_GIT=true
3940

4041
# Prepare an empty @reefguide Julia environment for derived images to use - this is created in the shared depot path
4142
RUN mkdir -p "${JULIA_DEPOT_PATH}" && \
@@ -97,7 +98,8 @@ ENTRYPOINT ["julia", "--project=@reefguide"]
9798
FROM internal-base AS reefguide-src
9899

99100
ENV REEFGUIDE_ENV_DIR="${JULIA_DEPOT_PATH}/environments/reefguide" \
100-
REEFGUIDE_SRC_DIR="/usr/local/src/reefguide"
101+
REEFGUIDE_SRC_DIR="/usr/local/src/reefguide" \
102+
JULIA_PKG_USE_CLI_GIT=true
101103

102104
# Try to coerce Julia to build across multiple targets
103105
ENV JULIA_CPU_TARGET=x86_64;haswell;skylake;skylake-avx512;tigerlake
@@ -107,7 +109,6 @@ ENV JULIA_CPU_TARGET=x86_64;haswell;skylake;skylake-avx512;tigerlake
107109
# shared @reefguide environment, pre-installing and precompiling dependencies.
108110
WORKDIR "${REEFGUIDE_SRC_DIR}"
109111

110-
111112
# Copy project and manifest - includes Manifest-v1.11 etc
112113
COPY Project.toml Manifest*.toml ./
113114

0 commit comments

Comments
 (0)