Skip to content

Commit 4cf89f6

Browse files
committed
update Dockerfile to use setuptools_scm
1 parent c881e45 commit 4cf89f6

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ RUN apt-get update && \
1616
RUN add-apt-repository ppa:rael-gc/rvm && apt-get update
1717

1818
RUN apt-get install -y --no-install-recommends \
19-
build-essential \
2019
ca-certificates \
2120
git \
2221
libmagic1 \
2322
libudunits2-dev \
2423
python3-dev \
25-
wget \
26-
libffi-dev \
2724
# Pyenv pre-requisites (from https://github.com/pyenv/pyenv/wiki#suggested-build-environment)
2825
make build-essential libssl-dev zlib1g-dev \
2926
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
@@ -42,12 +39,13 @@ RUN set -ex \
4239
&& pyenv rehash \
4340
&& chmod -R a+w $PYENV_ROOT/shims
4441

45-
RUN pip install --upgrade pip==22.1.2 setuptools==63.1.0 wheel
42+
RUN pip install --upgrade pip==22.1.2 setuptools==63.1.0 wheel build
4643

4744
RUN pip install \
4845
Cython==0.29.30 \
4946
bump2version==1.0.1 \
50-
numpy==1.23.0
47+
numpy==1.23.0 \
48+
setuptools-scm==7.0.4
5149

5250
RUN useradd --create-home --no-log-init --shell /bin/bash --uid $BUILDER_UID builder
5351
USER builder

0 commit comments

Comments
 (0)