Comments (5)
In order to build this you need to download the archive from the IBM site first and add it to the container yourself. I think this should be done by the image users so they can update the host package.
The archive can be found on: https://www-945.ibm.com/support/fixcentral/swg/selectFixes?product=ibm/WebSphere/WebSphere+MQ&release=7.5.0.9&platform=All&function=textSearch&text=client+install+&useReleaseAsTarget=true
I'm still working on the building process but here is the current state:
ENV PHP_VERSION="7.2" \
PHPIZE_DEPS="git file re2c autoconf make zlib zlib-dev g++" \
MQSERIES_DEPS="${PHPIZE_DEPS} php${PHP_VERSION}-dev rpm shadow" \
MQSERIES_ARCHIVE="/tmp/mqseries.tar.gz" \
MQSERIES_SRC="/tmp/mqseries" \
RPM_INSTALL="rpm -ivh --nodeps --prefix /opt/mqm"
RUN apk add --no-cache ${MQSERIES_DEPS} "openjdk8-jre" \
&& mkdir -p "${MQSERIES_SRC}" && echo "Platform: $(uname)_$(uname -i)" \
&& tar -xzf "${MQSERIES_ARCHIVE}" -C "${MQSERIES_SRC}" \
# The default mqlicense.sh sometimes fail, this is a fixed version (only needed if uname -i does not return your architecture)
&& cp "/tmp/mqlicense.sh" "${MQSERIES_SRC}/mqlicense.sh" \
&& bash -c "${MQSERIES_SRC}/mqlicense.sh -accept -jre /usr/bin/java" \
&& $RPM_INSTALL \
"${MQSERIES_SRC}/MQSeriesRuntime-*.rpm" \
"${MQSERIES_SRC}/MQSeriesSDK-*.rpm" \
"${MQSERIES_SRC}/MQSeriesClient-*.rpm" \
# Install mqseries module (a bit unstable!)
&& pecl bundle -f "mqseries" \
&& cd "$(pecl config-get temp_dir)/mqseries" \
&& phpize && ./configure --with-libdir=lib64 \
&& make && make install
I will get back to you with the working steps, I have some errors to resolve, but I wanted to share some state at least 👨💻
from docker-php.
Once the release will be published on the pecl site, I'll gladly go and add it here also. Until then this is way too hacky and looking like the extension should be replaced with something else for now... Thank you.
from docker-php.
Thanks for the suggestion. I'll check if it can be compiled. It looks like a bit outdated and unsynced PECL extension without a proper homepage or a source code repository... Last commit in the Git repository was 3 years ago, and last release on PECL was done last year:
https://github.com/php/pecl-networking-mqseries/releases
https://pecl.php.net/package/mqseries
Not something very promising yet... but I'll check.
from docker-php.
Yeah in the mean time I have some progress on it, it's not nice 😅
from docker-php.
Maybe #27 would be a better solution to address this so at least you don't need to handle the pecl module installation and configuration
from docker-php.
Related Issues (20)
- Primary script unknown
- More maintainers needed HOT 5
- How to enable apache rewrite ? HOT 1
- docker exec user process caused "no such file or directory"
- Certificate phpearth.rsa.pub is expired HOT 5
- Psr Extension
- PHP 7.4 released HOT 1
- [Question] php earth alpine repo is missing php7.4-mcrypt HOT 1
- MPM not loaded? HOT 2
- phpearth/php:7.3-litespeed additional extension issue
- Problem in Fetching Repo HOT 4
- SSL certificate expired HOT 2
- phpearth/php:7.4-litespeed not found
- Makefile indentation is wrong
- nginx-module-vts HOT 1
- Phpunit not installabe.
- "exec: "/sbin/runit-wrapper":permission denied HOT 2
- Can php8 be supported HOT 2
- certificate error for repos.php.earth HOT 1
- can you provide examples of executing this with docker compose?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-php.