Skip to content

Commit 812d6c4

Browse files
committed
New Simplified ACE image - 12.0.4.0-r1
1 parent 3e0bd61 commit 812d6c4

File tree

156 files changed

+521
-22346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+521
-22346
lines changed

ApplyIFixes.sh

Lines changed: 0 additions & 38 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

Dockerfile

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Build and run:
2+
#
3+
# docker build -t ace:12.0.2.0 -f Dockerfile .
4+
# docker run -e LICENSE=accept -p 7600:7600 -p 7800:7800 --rm -ti ace:12.0.2.0
5+
#
6+
# Can also mount a volume for the work directory:
7+
#
8+
# docker run -e LICENSE=accept -v /what/ever/dir:/home/aceuser/ace-server -p 7600:7600 -p 7800:7800 --rm -ti ace:12.0.2.0
9+
#
10+
# This might require a local directory with the right permissions, or changing the userid further down . . .
11+
12+
FROM registry.access.redhat.com/ubi8/ubi-minimal as builder
13+
14+
RUN microdnf update && microdnf install util-linux curl tar
15+
16+
ARG USERNAME
17+
ARG PASSWORD
18+
ARG DOWNLOAD_URL=http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/integration/12.0.2.0-ACE-LINUX64-DEVELOPER.tar.gz
19+
20+
RUN mkdir -p /opt/ibm/ace-12 \
21+
&& if [ -z $USERNAME ]; then curl ${DOWNLOAD_URL}; else curl -u "${USERNAME}:${PASSWORD}" ${DOWNLOAD_URL}; fi | \
22+
tar zx --absolute-names --exclude ace-12.\*/tools --exclude ace-12.\*/server/bin/TADataCollector.sh --exclude ace-12.\*/server/transformationAdvisor/ta-plugin-ace.jar --strip-components 1 --directory /opt/ibm/ace-12
23+
24+
FROM registry.access.redhat.com/ubi8/ubi-minimal
25+
26+
RUN microdnf update && microdnf install findutils util-linux && microdnf clean all
27+
28+
# Force reinstall tzdata package to get zoneinfo files
29+
RUN microdnf reinstall tzdata -y
30+
31+
# Prevent errors about having no terminal when using apt-get
32+
ENV DEBIAN_FRONTEND noninteractive
33+
34+
# Install ACE v12.0.2.0 and accept the license
35+
COPY --from=builder /opt/ibm/ace-12 /opt/ibm/ace-12
36+
RUN /opt/ibm/ace-12/ace make registry global accept license deferred \
37+
&& useradd --uid 1001 --create-home --home-dir /home/aceuser --shell /bin/bash -G mqbrkrs aceuser \
38+
&& su - aceuser -c "export LICENSE=accept && . /opt/ibm/ace-12/server/bin/mqsiprofile && mqsicreateworkdir /home/aceuser/ace-server" \
39+
&& echo ". /opt/ibm/ace-12/server/bin/mqsiprofile" >> /home/aceuser/.bashrc
40+
41+
COPY git.commit* /home/aceuser/
42+
43+
# Add required license as text file in Liceses directory (GPL, MIT, APACHE, Partner End User Agreement, etc)
44+
COPY /licenses/ /licenses/
45+
46+
# aceuser
47+
USER 1001
48+
49+
# Expose ports. 7600, 7800, 7843 for ACE;
50+
EXPOSE 7600 7800 7843
51+
52+
# Set entrypoint to run the server
53+
ENTRYPOINT ["bash", "-c", ". /opt/ibm/ace-12/server/bin/mqsiprofile && IntegrationServer -w /home/aceuser/ace-server"]

0 commit comments

Comments
 (0)