|
1 | 1 | ARG PLATFORM=linux/x86_64
|
2 |
| -ARG BASE_IMAGE=python:3.12.6-slim |
| 2 | +ARG BASE_IMAGE=python:3.12.7-slim |
3 | 3 |
|
4 | 4 | # This is the primary build target used for the production image
|
5 | 5 | FROM --platform=$PLATFORM $BASE_IMAGE AS production
|
@@ -37,25 +37,24 @@ COPY requirements-full.txt .
|
37 | 37 | RUN pip install --progress-bar off --no-cache-dir -r requirements-full.txt && \
|
38 | 38 | rm requirements-full.txt
|
39 | 39 |
|
| 40 | +# Install uv. |
| 41 | +ADD https://astral.sh/uv/0.5.1/install.sh /uv-installer.sh |
| 42 | +RUN sh /uv-installer.sh && rm /uv-installer.sh |
| 43 | +ENV PATH="/root/.local/bin/:$PATH" \ |
| 44 | + UV_SYSTEM_PYTHON=1 |
| 45 | + |
40 | 46 | # Instruct joblib to use disk for temporary files. Joblib defaults to
|
41 | 47 | # /shm when that directory is present. In the Docker container, /shm is
|
42 | 48 | # present but defaults to 64 MB.
|
43 | 49 | # https://github.com/joblib/joblib/blob/0.11/joblib/parallel.py#L328L342
|
44 | 50 | ENV JOBLIB_TEMP_FOLDER=/tmp
|
45 | 51 |
|
46 |
| -ENV VERSION=8.0.1 \ |
| 52 | +ENV VERSION=8.1.0 \ |
47 | 53 | VERSION_MAJOR=8 \
|
48 |
| - VERSION_MINOR=0 \ |
49 |
| - VERSION_MICRO=1 |
50 |
| - |
51 |
| -# Install the AWSCLI for moving match targets in the QC workflow. |
52 |
| -# See https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#cliv2-linux-install |
53 |
| -RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ |
54 |
| - unzip awscliv2.zip && \ |
55 |
| - ./aws/install && \ |
56 |
| - rm -rf aws awscliv2.zip |
| 54 | + VERSION_MINOR=1 \ |
| 55 | + VERSION_MICRO=0 |
57 | 56 |
|
58 |
| -# This build target is for testing in Circle CI. |
| 57 | +# This build target is for testing in CircleCI. |
59 | 58 | FROM --platform=$PLATFORM production AS test
|
60 | 59 | COPY .circleci/test_image.py .
|
61 | 60 | COPY CHANGELOG.md .
|
|
0 commit comments