Skip to content

PHP docker image for Gregor Kraliks SAPNWRFC module

License

Notifications You must be signed in to change notification settings

php-sap/docker-kralik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP docker image for SAP Netweaver RFC

This image compiles Gregor Kraliks sapnwrfc PHP module for PHP 8.x.

Usage

First you need to download the SAP Netweaver RFC SDK 7.50 for Linux and save it into this directory as sapnwrfc-sdk-7.50.tar.gz.

Build default docker image based on php:8.1-cli-bookworm.

docker build --pull --tag sapnwrfc:php-8.1 .

Copy sap.template.json to sap.json and enter your configuration.

Call RFC_PING on SAP remote system to test general functionality:

docker run --rm -v "$(pwd)":/app --workdir /app sapnwrfc:php-8.1 php test.php

Build other PHP 8.x based images

The Dockerfile allows you to choose the PHP version and the version of the SAPNWRFC module.

docker build --pull --build-arg PHP_VERSION=8.1-cli --build-arg SAPNWRFC_VERSION=2.1.0 --tag sapnwrfc:php-8.1 .

License

MIT License

Copyright (c) 2020 PHP/SAP

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Legal notice

SAP and other SAP products and services mentioned herein are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries.