@@ -4,7 +4,7 @@ ARG UBUNTU_VERSION
4
4
5
5
# #######################################################################
6
6
7
- FROM nvidia/cuda:${CUDA_VERSION}-cudnn8-runtime-ubuntu${UBUNTU_VERSION} as thinbuild
7
+ FROM nvidia/cuda:${CUDA_VERSION}-cudnn8-runtime-ubuntu${UBUNTU_VERSION} AS thinbuild
8
8
9
9
ARG PYTHON_VERSION=3.11
10
10
@@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/var/cache/apt apt update && \
22
22
23
23
# #######################################################################
24
24
25
- FROM nvidia/cuda:${CUDA_VERSION}-cudnn8-runtime-ubuntu${UBUNTU_VERSION} as fullbuild
25
+ FROM nvidia/cuda:${CUDA_VERSION}-cudnn8-runtime-ubuntu${UBUNTU_VERSION} AS fullbuild
26
26
27
27
ARG TARGETPLATFORM
28
28
ARG PYTHON_VERSION=3.11
@@ -50,8 +50,8 @@ RUN wget -q -O ~/micromamba.sh https://github.com/conda-forge/miniforge/releases
50
50
chmod +x ~/micromamba.sh && \
51
51
bash ~/micromamba.sh -b -p /opt/conda && \
52
52
rm ~/micromamba.sh
53
- ENV PATH /opt/conda/bin:$PATH
54
- ENV LD_LIBRARY_PATH /opt/conda/lib/:$LD_LIBRARY_PATH
53
+ ENV PATH= /opt/conda/bin:$PATH
54
+ ENV LD_LIBRARY_PATH= /opt/conda/lib/:$LD_LIBRARY_PATH
55
55
RUN mamba init
56
56
RUN mamba install -y python=${PYTHON_VERSION}
57
57
RUN python -m pip install --upgrade pip
@@ -65,7 +65,7 @@ RUN pip install uv
65
65
RUN mamba update mamba -y && mamba install -y -c conda-forge gdal=3.6.3
66
66
ENV GDAL_DATA=/opt/conda/lib/python${PYTHON_VERSION}/site-packages/rasterio/gdal_data/
67
67
# Needed for GDAL 3.0
68
- ENV PROJ_LIB /opt/conda/share/proj/
68
+ ENV PROJ_LIB= /opt/conda/share/proj/
69
69
70
70
# This is to prevent the following error when starting the container.
71
71
# bash: /opt/conda/lib/libtinfo.so.6: no version information available (required by bash)
@@ -86,8 +86,8 @@ FROM ${BUILD_TYPE:-fullbuild} AS final_stage
86
86
87
87
ARG TARGETARCH
88
88
89
- ENV LC_ALL C.UTF-8
90
- ENV LANG C.UTF-8
89
+ ENV LC_ALL= C.UTF-8
90
+ ENV LANG= C.UTF-8
91
91
92
92
WORKDIR /opt/src/
93
93
0 commit comments