updates to the docker images
MODIFY
on-wildfly/Dockerfile
on-wildfly/Dockerfile
@@ -3,10 +3,10 @@ FROM jboss/wildfly:20.0.1.Final
MAINTAINER Marc Savy <marc.savy@redhat.com>
-ENV APIMAN_VERSION 2.0.0.Final
+ARG APIMAN_VERSION
RUN cd $HOME/wildfly \
- && curl https://github.com/Apiman/apiman/releases/download/$APIMAN_VERSION/apiman-distro-wildfly-$APIMAN_VERSION-overlay.zip | bsdtar -xvf-
+ && curl -L https://github.com/Apiman/apiman/releases/download/$APIMAN_VERSION/apiman-distro-wildfly-$APIMAN_VERSION-overlay.zip | bsdtar -xvf-
USER root

MODIFY
vertx-openshift/Dockerfile
vertx-openshift/Dockerfile
@@ -7,7 +7,7 @@ LABEL maintainter="jcechace@redhat.com>" \
ENV JBOSS_HOME="/opt/jboss"
-ENV APIMAN_VERSION="1.5.7.Final"
+ARG APIMAN_VERSION
ENV APIMAN_HOME="${JBOSS_HOME}/apiman"
ENV APIMAN_CONFIG="${APIMAN_HOME}/configs/conf-container.json"
ENV APIMAN_REGISTRY_URI="file:///${APIMAN_HOME}/configs/registry.json"

MODIFY
vertx-standalone/Dockerfile
vertx-standalone/Dockerfile
@@ -3,16 +3,16 @@ FROM apiman/cli:${CLI_VERSION} AS cli
FROM openjdk:8
-ARG PLATFORM_VERSION="1.5.7.Final"
+ARG APIMAN_VERSION
RUN useradd -m -d /home/apiman apiman && \
mkdir -p /opt/apiman/apis /opt/apiman/declarations /opt/apiman/lib && \
chown -R apiman:apiman /home/apiman /opt/apiman
USER apiman
-RUN curl -s https://github.com/Apiman/apiman/releases/download/$APIMAN_VERSION/apiman-distro-vertx-$APIMAN_VERSION.zip -o /tmp/apiman-distro-vertx-${PLATFORM_VERSION}.zip && \
- unzip /tmp/apiman-distro-vertx-${PLATFORM_VERSION}.zip -d /tmp && \
- mv /tmp/apiman-distro-vertx-${PLATFORM_VERSION}/* /opt/apiman/
+RUN curl -s -L https://github.com/Apiman/apiman/releases/download/$APIMAN_VERSION/apiman-distro-vertx-$APIMAN_VERSION.zip -o /tmp/apiman-distro-vertx-${APIMAN_VERSION}.zip && \
+ unzip /tmp/apiman-distro-vertx-${APIMAN_VERSION}.zip -d /tmp && \
+ mv /tmp/apiman-distro-vertx-${APIMAN_VERSION}/* /opt/apiman/
COPY --from=cli --chown=apiman:apiman /opt/apiman-cli/lib/apiman-cli.jar /opt/apiman/lib
COPY --chown=apiman:apiman files /opt/apiman

updates to the docker images