File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Define a builder image
2
- FROM python:3.7-buster as builder
2
+ FROM python:3.10-bullseye as builder
3
3
4
4
ENV DEBIAN_FRONTEND=noninteractive
5
5
ENV LANG=C.UTF-8
6
6
RUN apt-get update \
7
7
&& apt-get install -yq --no-install-recommends \
8
8
ca-certificates \
9
9
libcurl4-gnutls-dev \
10
+ libgnutls28-dev \
11
+ libmemcached-dev \
10
12
git \
11
13
nodejs \
12
14
npm
13
15
14
16
# Python requirements
15
- COPY ./requirements-dev.txt /srv/nbviewer/
16
17
COPY ./requirements.txt /srv/nbviewer/
17
- RUN python3 -mpip install -r /srv/nbviewer/requirements-dev.txt -r /srv/nbviewer/requirements.txt
18
+
19
+ RUN python3 -mpip install -r /srv/nbviewer/requirements.txt
18
20
19
21
WORKDIR /srv/nbviewer
20
22
@@ -24,7 +26,7 @@ RUN python3 setup.py build && \
24
26
python3 -mpip wheel -vv . -w /wheels
25
27
26
28
# Now define the runtime image
27
- FROM python:3.7 -slim-buster
29
+ FROM python:3.10 -slim-bullseye
28
30
LABEL maintainer=
"Jupyter Project <[email protected] >"
29
31
30
32
ENV DEBIAN_FRONTEND=noninteractive
@@ -34,6 +36,7 @@ RUN apt-get update \
34
36
&& apt-get install -yq --no-install-recommends \
35
37
ca-certificates \
36
38
libcurl4 \
39
+ libmemcached11 \
37
40
git \
38
41
&& apt-get clean && rm -rf /var/lib/apt/lists/*
39
42
You can’t perform that action at this time.
0 commit comments