How install PIP & PYMSSQL in docker

  azure-aks, docker, python

I have a Python program which is to be executed in the Azure Kubernetes.

Below is my docker file – I have Python installed

#Ubuntu Base image with openjdk8 with TomEE

FROM demo.azurecr.io/ubuntu/tomee/openjdk8:8.0.x

RUN apt-get update && apt-get install -y telnet && apt-get install -y ksh && apt-get install -y python2.7.x && apt-get -y clean && rm -rf /var/lib/apt/lists/*

however I don’t know how to install PIP and related dependent libraries (eg: pymssql)?

Source: Python Questions

LEAVE A COMMENT