Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 3.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ RUN apt-get update && \
git=1:2.20.1-2+deb10u3 \
curl \
npm=5.8.0+ds6-4+deb10u2 && \
pip3 install --no-cache-dir --upgrade pip==22.1.2 && \
npm install npm@latest -g && \
npm install -g serverless@3.24.1 && \
pip3 install --no-cache-dir --upgrade pip==23.3.1 && \
npm install npm@7.0 -g && \
npm install -g serverless@3.36.0 && \
npm install -g [email protected] &&\
apt-get -q -y clean && \
rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*

ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

WORKDIR /work
Expand Down
24 changes: 24 additions & 0 deletions 3.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM python:3.11-slim-buster

RUN apt-get update && \
apt-get install -y \
wget=1.20.1-1.1 \
zip=3.0-11+b1 \
unzip=6.0-23+deb10u2 \
git=1:2.20.1-2+deb10u3 \
curl \
npm=5.8.0+ds6-4+deb10u2 && \
pip3 install --no-cache-dir --upgrade pip==23.3.1 && \
npm install [email protected] -g && \
npm install -g [email protected] && \
npm install -g [email protected] &&\
apt-get -q -y clean && \
rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*

ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

WORKDIR /work

ENTRYPOINT ["/bin/sh"]
8 changes: 4 additions & 4 deletions 3.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ RUN apt-get update && \
git=1:2.20.1-2+deb10u3 \
curl \
npm=5.8.0+ds6-4+deb10u2 && \
pip3 install --no-cache-dir --upgrade pip==22.1.2 && \
npm install npm@latest -g && \
npm install -g serverless@3.24.1 && \
pip3 install --no-cache-dir --upgrade pip==23.3.1 && \
npm install npm@7.0 -g && \
npm install -g serverless@3.36.0 && \
npm install -g [email protected] &&\
apt-get -q -y clean && \
rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*

ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

WORKDIR /work
Expand Down
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ build:
-t ${REPO}:3.10-${IMAGE_TAG} \
./3.10/.

# Python 3.11
docker build \
--build-arg base_image=python:3.11-slim \
-t ${REPO}:3.11-${IMAGE_TAG} \
./3.11/.

push:
echo "Push specific tag/release"

Expand All @@ -48,4 +54,7 @@ push:
docker push ${REPO}:3.9-${IMAGE_TAG}

# Python 3.10
docker push ${REPO}:3.10-${IMAGE_TAG}
docker push ${REPO}:3.10-${IMAGE_TAG}

# Python 3.11
docker push ${REPO}:3.11-${IMAGE_TAG}