Skip to content

Commit 1e6acb2

Browse files
committed
fix dockerfile linting/formatting issues
1 parent c2096d3 commit 1e6acb2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG UBUNTU_VERSION
44

55
########################################################################
66

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
88

99
ARG PYTHON_VERSION=3.11
1010

@@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/var/cache/apt apt update && \
2222

2323
########################################################################
2424

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
2626

2727
ARG TARGETPLATFORM
2828
ARG PYTHON_VERSION=3.11
@@ -50,8 +50,8 @@ RUN wget -q -O ~/micromamba.sh https://github.com/conda-forge/miniforge/releases
5050
chmod +x ~/micromamba.sh && \
5151
bash ~/micromamba.sh -b -p /opt/conda && \
5252
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
5555
RUN mamba init
5656
RUN mamba install -y python=${PYTHON_VERSION}
5757
RUN python -m pip install --upgrade pip
@@ -65,7 +65,7 @@ RUN pip install uv
6565
RUN mamba update mamba -y && mamba install -y -c conda-forge gdal=3.6.3
6666
ENV GDAL_DATA=/opt/conda/lib/python${PYTHON_VERSION}/site-packages/rasterio/gdal_data/
6767
# Needed for GDAL 3.0
68-
ENV PROJ_LIB /opt/conda/share/proj/
68+
ENV PROJ_LIB=/opt/conda/share/proj/
6969

7070
# This is to prevent the following error when starting the container.
7171
# 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
8686

8787
ARG TARGETARCH
8888

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
9191

9292
WORKDIR /opt/src/
9393

0 commit comments

Comments
 (0)