# See the License for the specific language governing permissions and
# limitations under the License.
# ==================================================================================
-FROM python:3.7-alpine
+FROM python:3.8-alpine
# sdl uses hiredis which needs gcc
RUN apk update && apk add gcc musl-dev
-# copy rmr .sos from the builder image
-COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:1-rmr1.13.1 /usr/local/lib64/libnng.so /usr/local/lib64/libnng.so
-COPY --from=nexus3.o-ran-sc.org:10004/bldr-alpine3-go:1-rmr1.13.1 /usr/local/lib64/librmr_nng.so /usr/local/lib64/librmr_nng.so
+# copy rmr libraries from builder image in lieu of an Alpine package
+COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:4.0.5 /usr/local/lib64/librmr* /usr/local/lib64/
# Upgrade pip, install tox
RUN pip install --upgrade pip && pip install tox