diff --git a/3.10/Dockerfile b/3.10/Dockerfile new file mode 100644 index 0000000..f5a85bf --- /dev/null +++ b/3.10/Dockerfile @@ -0,0 +1,23 @@ +FROM python:3.10-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==22.1.2 && \ + npm install npm@latest -g && \ + npm install -g serverless@3.24.1 && \ + 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 apt-get install -y nodejs + +WORKDIR /work + +ENTRYPOINT ["/bin/sh"] \ No newline at end of file diff --git a/Makefile b/Makefile index a82870f..aa74f37 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,12 @@ build: -t ${REPO}:3.9-${IMAGE_TAG} \ ./3.9/. + # Python 3.10 + docker build \ + --build-arg base_image=python:3.10-slim \ + -t ${REPO}:3.10-${IMAGE_TAG} \ + ./3.10/. + push: echo "Push specific tag/release" @@ -39,4 +45,7 @@ push: docker push ${REPO}:3.8-${IMAGE_TAG} # Python 3.9 - docker push ${REPO}:3.9-${IMAGE_TAG} \ No newline at end of file + docker push ${REPO}:3.9-${IMAGE_TAG} + + # Python 3.10 + docker push ${REPO}:3.10-${IMAGE_TAG} \ No newline at end of file