Skip to content

Commit cb273d5

Browse files
committed
[skip ci] update dockerfiles
1 parent 0a89023 commit cb273d5

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

building/lambda/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ RUN pip3 install --upgrade urllib3==1.26.16 # temporary to avoid https://github
4242
# Unpin CMake when arrow version shipped with lambda layers is updated.
4343
RUN pip3 install --upgrade cmake==3.31.6
4444
RUN pip3 install --upgrade six cython hypothesis uv
45-
# ENV PIP_NO_BINARY="numpy,pandas"
46-
# RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main
47-
RUN uv sync --frozen --no-dev --no-install-project \
45+
46+
ENV PIP_NO_BINARY="numpy,pandas"
47+
ENV UV_PROJECT_ENVIRONMENT="/var/lang"
48+
RUN uv sync --frozen --inexact --no-dev --no-install-project \
4849
--no-binary-package numpy \
4950
--no-binary-package pandas
5051

building/lambda/Dockerfile.al2023

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ RUN pip3 install --upgrade pip wheel setuptools>=78.1.1 setuptools_scm>=8
2929
# In new CMake 4, compatibility with CMake < 3.5 has been removed.
3030
# Unpin CMake when arrow version shipped with lambda layers is updated.
3131
RUN pip3 install --upgrade cmake==3.31.6
32-
RUN pip3 install --upgrade six cython hypothesis poetry
33-
# ENV PIP_NO_BINARY="numpy,pandas"
34-
# RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main
35-
RUN uv sync --frozen --no-dev --no-install-project \
32+
RUN pip3 install --upgrade six cython hypothesis uv
33+
34+
ENV PIP_NO_BINARY="numpy,pandas"
35+
ENV UV_PROJECT_ENVIRONMENT="/var/lang"
36+
RUN uv sync --frozen --inexact --no-dev --no-install-project \
3637
--no-binary-package numpy \
3738
--no-binary-package pandas
3839

0 commit comments

Comments
 (0)