# Speed hack; we install gevent before anything because when building repeatedly (eg during dev)
# and only changing a1 code, we do not need to keep compiling gevent which takes forever
RUN pip install --user gevent
+RUN pip install --user requests
COPY setup.py /home/a1user/
COPY a1/ /home/a1user/a1
# things built in the first stage, the final image size isn't tiny, but should
# be well under the 800GiB start for the python image.
#
-FROM ubuntu:18.04
+FROM ubuntu:20.04
# pick up reference to python so that we can get 3.8 and not the really old default
# fetch and install RMR and any other needed libraries
#
-ARG RMR_VER=4.7.4
+ARG RMR_VER=4.8.0
ARG RMR_PKG_URL=https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/
RUN wget -nv --content-disposition ${RMR_PKG_URL}/rmr_${RMR_VER}_amd64.deb/download.deb