cancel
Showing results for 
Search instead for 
Did you mean: 

SAP DI Changeg Docker File

jwiebe
Explorer
0 Kudos

Hello,

we updated our SAP DataHub 2.7 to SAP Data Intelligence 3.0

I dont really understand https://help.sap.com/viewer/1f70b259e2ab47ba98e53928b291a139/3.0.latest/en-US/f5f8447b03e649e098acba...

which of the following do I need to add to my docker file?

FROM §/com.sap.datahub.linuxx86_64/sles:15.0-sap-007
RUN groupadd -g 1972 vflow && useradd -g 1972-u 1972-m vflow
USER 1972:1972
WORKDIR /home/vflow 
ENV HOME=/home/vflow

i got this error:

"error building docker image. Docker daemon error: manifest for crcbcdatahub.azurecr.io/com.sap.datahub.linuxx86_64/sles:15.0-sap-007 not found: manifest unknown: manifest unknown"

Accepted Solutions (1)

Accepted Solutions (1)

AndreasForster
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jürgen, With DI 3.0 there was a change in the Docker images.
"For security reasons, the Modeler application has stopped supporting images that run with a root user."
https://help.sap.com/viewer/1c1341f6911f4da5a35b191b40b426c8/Cloud/en-US/62d1df08fa384d0e88bbe9b7cbd...

I found it easiest to inherit from a new base image https://help.sap.com/viewer/1c1341f6911f4da5a35b191b40b426c8/Cloud/en-US/d49a07c5d66c413ab14731adcfc...

This code works for me for example
FROM $com.sap.sles.base
RUN python3.6 -m pip install numpy==1.16.4 --user
RUN python3.6 -m pip install pandas==0.24.0 --user
RUN python3.6 -m pip install sklearn --user

When inheriting from that base image, you don't have to specify the standard tags anymore ("sles", "python36", "tornado"). It's sufficient if you add only your own tag.
Andreas

jwiebe
Explorer
0 Kudos

Hello Andreas,

it worked!

Thank you very much!

Answers (1)

Answers (1)

RolandKramer
Active Contributor
0 Kudos

Hello Jürgen

This is restriction is only relevant for the DI Developers and is not impacting the Upgrade.

How did you started the Upgrade? Via slcb tool or SAP Hostagent based SLC Bridge?

Is the Image sles:15.0-sap-007 available in your container registry crcbcdatahub.azurecr.io?

can you access the Customer Repository successfully with your S-User credentials?
https://73554900100900004388.dockersrv.repositories.sapcdn.io/v2

See also the Blog - SAP Data Intelligence 3.0 – implement with slcb tool

Best Regards Roland