There were a couple blockers to creating a node 18.18.0 image.
- Our Ubuntu image doesn't seem to support "python-dev" anymore, we need to use "python3-dev"
- There are some known issues with the elasticbean CLI that require preinstalling specific versions of pyyaml, and setuptools.
Old Dockerfile:
ARG NODE_VERSION=latest
FROM cimg/node:$NODE_VERSION
RUN sudo apt-get update && \
sudo apt-get install -y python3 python3-pip python-dev && \
sudo pip3 install awscli && \
sudo pip3 install awsebcli --upgrade && \
sudo apt-get clean
ENV AWS_ACCESS_KEY_ID=dummy
ENV AWS_SECRET_ACCESS_KEY=dummy
ENV AWS_REGION=dummy
New Dockerfile:
ARG NODE_VERSION=latest
FROM cimg/node:$NODE_VERSION
RUN sudo apt-get update
RUN sudo apt-get install -y python3 python3-pip python3-dev
RUN sudo pip3 install awscli
RUN sudo pip install "pyyaml<5.4"
RUN sudo pip install --upgrade setuptools
RUN sudo pip3 install awsebcli --upgrade
ENV AWS_ACCESS_KEY_ID=dummy
ENV AWS_SECRET_ACCESS_KEY=dummy
ENV AWS_REGION=dummy
There were a couple blockers to creating a node 18.18.0 image.
Old Dockerfile:
New Dockerfile: