❗ SAP NWRFC SDK is not a part of these images and must not be packed into externaly distributed images or applications.
Exclusive distribution channel is: SAP NWRFC SDK on SAP Support Portal
More info: https://support.sap.com/en/product/connectors/nwrfcsdk.html
abap CLI can run also from docker container, mapped to your local working folder.
Prepare the working directory:
mkdir myproject
cd myproject
edit sapnwrfc.iniDocker image with pre-installed SAP NWRFC SDK is available in SAP-internal network only (link). The local working directory myproject shall be mapped to docker volume work:
docker pull docker.wdf.sap.corp:51689/vpcoe/abap-api-tools
docker run --name cli -it -v <absolute path>/myproject:/work docker.wdf.sap.corp:51689/vpcoe/abap-api-toolsThe container can be also built from abap-api-tools.Dockerfile. SAP NWRFC SDK folder "nwrfcsdk" shall be in that case first copied to Dockerfile folder:
docker build --rm --no-cache -t abap-api-tools -f abap-api-tools.Dockerfile .
docker run --name cli -it -v <absolute path>/myproject:/work abap-api-toolsOnce the cli container is up and running, the abap CLI can be invoked:
docker start cli
docker exec cli abap