Question

Hi, I am using a fmeserver engine image as a base image and trying to build a docker image with some more additional installations like azure file storage, oracle client etc. While I am trying to build the image, I am getting the following error.

  • 28 November 2022
  • 0 replies
  • 2 views

This is the error I am getting when I trying to upgrade the pip --version in the base image and build a new fmeserverengine image:

Step 2/45 : RUN python3 -m pip install --upgrade pip

---> Running in 95e4bf57b3f0

Fatal Python error: Py_Initialize: Unable to get the locale encoding

ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f43b515f740 (most recent call first):

Aborted (core dumped)

Fatal Python error: Py_Initialize: Unable to get the locale encoding

ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f43b515f740 (most recent call first):

Aborted (core dumped)

Service 'fmeserverengine' failed to build: The command '/bin/sh -c python3 -m pip install --upgrade pip' returned a non-zero code: 134

 

The base image which I took it from :

/quay.io/repository/safesoftware/fmeserver-engine:20632

 


0 replies

Be the first to reply!

Reply