File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM python:3.10-slim-buster
2+
3+ RUN apt-get update && \
4+ apt-get install -y \
5+ wget=1.20.1-1.1 \
6+ zip=3.0-11+b1 \
7+ unzip=6.0-23+deb10u2 \
8+ git=1:2.20.1-2+deb10u3 \
9+ curl \
10+ npm=5.8.0+ds6-4+deb10u2 && \
11+ pip3 install --no-cache-dir --upgrade pip==22.1.2 && \
12+ npm install npm@latest -g && \
13+ npm install -g
[email protected] && \
14+ apt-get -q -y clean && \
15+ rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
16+
17+ ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1
18+ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash
19+ RUN apt-get install -y nodejs
20+
21+ WORKDIR /work
22+
23+ ENTRYPOINT ["/bin/sh" ]
Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ build:
2626 -t ${REPO}:3.9-${IMAGE_TAG} \
2727 ./3.9/.
2828
29+ # Python 3.10
30+ docker build \
31+ --build-arg base_image=python:3.10-slim \
32+ -t ${REPO}:3.10-${IMAGE_TAG} \
33+ ./3.10/.
34+
2935push :
3036 echo " Push specific tag/release"
3137
3945 docker push ${REPO}:3.8-${IMAGE_TAG}
4046
4147 # Python 3.9
42- docker push ${REPO}:3.9-${IMAGE_TAG}
48+ docker push ${REPO}:3.9-${IMAGE_TAG}
49+
50+ # Python 3.10
51+ docker push ${REPO}:3.10-${IMAGE_TAG}
You can’t perform that action at this time.
0 commit comments