Public Repository

Last pushed: 2 months ago
Short Description
Docker image for https://github.com/yahoo/egads
Full Description

Dockerfile

FROM manujbhatia/maven:3.5.0-ibmjava-8 AS build

WORKDIR /work

RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        ca-certificates \
        curl \
        unzip \
    && rm -rf /var/lib/apt/lists/*

ADD . /work/

RUN ./bootstrap.sh \
    && unzip .cache/egads-master.zip

WORKDIR /work/egads-master

RUN mvn clean compile assembly:single

RUN mkdir -p /out \
    && cp -p target/egads-*-jar-with-dependencies.jar /out/

FROM ibmjava:8-sdk

WORKDIR /work

COPY --from=build /out/ /work/lib/

bootstrap.sh

#!/bin/sh -xe

## Download the egads source
mkdir -p .cache
if [ ! -e .cache/egads-master.zip ]; then
    curl -L https://github.com/yahoo/egads/archive/master.zip -o .cache/egads-master.zip
fi
Docker Pull Command
Owner
manujbhatia

Comments (0)