UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
apache
activemq
Commits
bc6224f1
Verified
Commit
bc6224f1
authored
Apr 01, 2020
by
Al Fontaine
Browse files
update jdk
parent
21dc8da7
Pipeline
#7067
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
Dockerfile
Dockerfile
+5
-6
No files found.
Dockerfile
View file @
bc6224f1
ARG
BASE_REGISTRY=
registry.access.redhat.com
ARG
BASE_IMAGE=ubi
8
/ubi
ARG
BASE_REGISTRY=
nexus-docker-secure.levelup-nexus.svc.cluster.local:18082
ARG
BASE_IMAGE=
redhat/
ubi/ubi
8
ARG
BASE_TAG=8.1
FROM
${BASE_REGISTRY}/
${BASE_IMAGE}:${BASE_TAG}
FROM
${BASE_REGISTRY}/
Opensource/openjdk/openjdk:1.13
ARG
VERSION=5.15.12
ARG
DISTRO_NAME=apache-activemq-${VERSION}
...
...
@@ -13,8 +13,6 @@ LABEL name="ActiveMQ" \
vendor="Apache" \
version=$VERSION \
summary="Apache ActiveMQ™ is the most popular open source, multi-protocol, Java-based messaging server. "
RUN
yum
install
-y
java
COPY
${DISTRO_NAME}.tar.gz /opt
...
...
@@ -23,7 +21,8 @@ RUN tar -zxf /opt/${DISTRO_NAME}.tar.gz -C /opt && \
ln
-s
/opt/
${
DISTRO_NAME
}
${
ACTIVEMQ_HOME
}
&&
\
useradd
-r
${
USER_NAME
}
--uid
=
1000
&&
\
chown
-R
${
USER_NAME
}
:
${
USER_NAME
}
/opt/
${
DISTRO_NAME
}
&&
\
chown
-h
${
USER_NAME
}
:
${
USER_NAME
}
${
ACTIVEMQ_HOME
}
chown
-h
${
USER_NAME
}
:
${
USER_NAME
}
${
ACTIVEMQ_HOME
}
&&
\
sed
-i
"/#JAVA_HOME=*/c
\J
AVA_HOME=/opt/jdk-13.0.2"
/opt/
${
DISTRO_NAME
}
/bin/env
USER
${USER_NAME}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment